event_semaphore |
To coordinate the actions of several threads based on a single event, use an event semaphore. For example, in a stock broking system, you might want several different thread-controlled activities to occur when a stock price changes. An event semaphore can exist either in an unposted state or in a posted state. In an unposted state, all threads that perform a wait will block. In a posted state, no threads that perform a wait will block. If an event semaphore is pulsed when in an unposted state, all waiting semaphores will immediately unblock. If an event semaphore is moved to a posted state from an unposted state, all waiting semaphores will immediately unblock.
false
) indicates whether the event semaphore is initially created in the posted
or unposted state. Throws: os_thread_toolkit_error
reset() . Throws: os_thread_toolkit_error
true
if posted. Throws: os_thread_toolkit_error
Throws: os_thread_toolkit_error
Throws: os_thread_toolkit_error
Throws: os_thread_toolkit_error
Copyright©1994-2026 Recursion
Software LLC
All Rights Reserved - For use by licensed users only.