A blocking command to be executed in the audio thread. More...
#include <Command.hpp>
Public Member Functions | |
void | operator() () |
Caller context. | |
bool | pending () |
Execution context. | |
void | finish () |
A blocking command to be executed in the audio thread.
This is useful for calling simple parameterless commands from another thread (OSC, GUI, etc) and waiting on the result. Works well for coarsely timed events (e.g. 'play' clicked in a GUI).
Realtime safe on the command executing side.