AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
◆ SetupWaitEvent()
Sets up a wait event for this thread. This call allows a thread to later call WaitForTransaction() to cause the thread to be blocked until the specified transaction completes. This method must be invoked after the transaction is started but before the DRAMA lock is released, otherwise the DRAMA main loop may see any result of the transaction before WaitForTransaction() is invoked and not know how to dispatch it to this thread. After calling this method, the DRAMA lock would then be released before calling WaitForTransaction().
Implemented in drama::thread::TAction, and drama::thread::TUface. |
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tony.farrell@mq.edu.au
Generated on Thu Dec 12 2024 23:07:36 for AAO DRAMA/DRAMA2 C++ Interface by 1.9.8