In our project we have UI and logic (which may be represented as a state machine). Transitions between some steps in this step machine are long (IO-bound). We don't want to steal our UI thread for all the time the transition is in progress. Therefore we are looking for a way to perform this transitions in a separate thread and then update the UI when the transition finishes.
I currently evaluate the boost statechart library as one of the options to implement such a logic and I'd like to ask what's the proper way of implementing such a long-time transitions functionality using it?
Thanks.