Quote:
Originally Posted by mschnell
Does the appropriate library (WDL ?) not provide OS independent means for save inter-Thread communication (including sending to the main event thread queue) ?
|
SWELL imitates a Win32-like event queue on macOS and Linux. Not quite 1:1 but close enough (eg.
PostMessage works across threads but
SendMessage doesn't because it always runs the window proc in the caller thread).
(SWELL and WDL together also provide some generic thread synchronization utilities (mutex, event...), but those have std equivalents anyway.)