event [function]
event( bool signaled = false )
Creates an event.
- This object can be used to stop a thread. See end_on for more info.
- Event is initialized to the state specified by
signaled
. - This object consists of one property -
bool signaled
. It can be modified to change the state of the event.