External-Callback from different threads?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

External-Callback from different threads?

Pavel
Can Dolphin do External-Callback from different threads? I didn't find
information in documentation about restrictions of External-Callback
concerned with threads.

Pavel


Reply | Threaded
Open this post in threaded view
|

Re: External-Callback from different threads?

Pavel
sorry, I find in docs about it ...
******************
Some functions generate immediate callbacks into the image, either
explicitly as External Callbacks, or implicitly through the Windows message
queue (e.g. DestroyWindow). The latter are always synchronised and directed
to the VMs main thread by Windows, but the former may generated callbacks on
other threads. The VM intercepts these callbacks and has to redirect them to
the main VM thread so that they can be processed safely in the same manner
as Windows, i.e. by synchronising them through the message queue.
******************