Resolve "Need to be able to wait for a message, while running Qt loop, with timeout and without polling or busy loop"
requested to merge 184-need-to-be-able-to-wait-for-a-message-while-running-qt-loop-with-timeout-and-without-polling-or into main
TO BE MERGED AFTER !127 (merged)
Description
Proposed implementation makes a nested event loop, to wait efficiently (exec_()
). A single shot timer is used to
raise an exception, if it is not cancelled before by the reception of the expected message.
Note: nested loops still process events from outer level loops (in the case there is only 2 levels, main + additional one).
Closes #184 (closed)
Edited by guijar_m