ThreadWrapper.iterate

void iterate(bool mayBlock)

This method gives wrapper a chance to check if some functions to be executed have finished

<emphasis>for the calling thread</emphasis>. In this case it handles the execution result and

makes it ready to be processed using [gda.thread_wrapper.ThreadWrapper.fetchResult].

This method also allows wrapper to handle signals which may have been emitted by objects while in the worker thread, and call the callback function specified when [gda.thread_wrapper.ThreadWrapper.connectRaw] was used.

If may_block is true, then it will block untill there is one finished execution (functions returning void and signals are ignored regarding this argument).

Parameters

mayBlockwhether the call may block