Boost Statechart Library - How to Implement Long Transitions

In our project, we have UI and logic (which can be represented as a finite machine). The transitions between some steps in this step are long (IO-bound). We do not want to steal our UI thread for the entire transition. Therefore, we are looking for a way to perform these transitions in a separate thread, and then update the interface after the transition is completed.

I am currently evaluating the statechart formatting library as one of the options for implementing this logic, and I would like to ask how to use this function of long jumps correctly using it?

Thanks.

+3
source share
1 answer

, .

, - , UI , .

, , . , , . (boost:: interprocess:: message_queue , )

+2

Source: https://habr.com/ru/post/1715888/


All Articles