Background Task Queue
Last updated: March 10, 2015
The Oovcde project has many types of multitasking that must be performed that
are described in OovcdeMultitasking.
The queue described here copies from ThreadedWorkWaitQueue.
This queue provides a single thread for processing background queued items.
The following functions are available to the client:
Each item is processed on the background thread from the processItem function.
For long running tasks, the function called from processItem can query the
continueProcessingItem function so that long running tasks can abort.
There is a class in OovProcess.h named OovTaskStatusListener that can be called from
the processItem function. This status can be buffered by the GUI so that the
BackgroundDialog class in Gui.h can display the status from the GUI idle processing.