What it’s the best way to notify the user thread from the realtime thread ?
Using MessageListener::postMessage() seems problematic, since the messaged passed must be created with new Message().
It’s not a good idea to make “new Something()” call from the realtime thread, because this may take a long time to run (BTW Digidesign warns plugin developer against this)
And since MessageListener is used to implement some services, then these services also are disqualified as good RT->GUI communication tool.
For instance, I won’t use AsyncUpdater::triggerAsyncUpdate(). This propagate to a lot of GUI functions, like ComboBox::setSelectedItemIndex()