I need a hint how to implement asynchronous function calls in C/C++ ( or names of frameworks/API calls for windows and/or linux )
The use case is following: A parent thr
I see in your reply to Starkey that the main thread is a UI thread.
I've used several different GUI toolkits and all of them allow you to post a message from a different thread. So have the worker thread post a GUI message when it is complete, the handler will then run in the main thread.
In Windows, use PostMessage.
In Linux, use XtAppAddSignal and XtNoticeSignal