Public Member Functions | |
| int | destroy () |
| Event (bool broadcast) | |
| int | init (bool broadcast) |
| int | signal (u_long id=0) |
| int | wait (u_long id=0, u_long timeout=0) |
| ~Event () | |
Private Attributes | |
| bool | broadcast |
| EventHandle | event |
| bool | initialized |
|
|
Constructor for the event class.
|
|
|
Destroy the object. |
|
|
Clean all the used resources. |
|
|
Initialize an event.
|
|
|
Signal the event. The behaviour of this message is influenced by the broadcast flag, if this is a broadcast event then the event will be signaled to all the waiting threads otherwise only one thread will be signaled.
|
|
||||||||||||
|
Wait for the event.
|
|
|
|
|
|
|
|
|
|
1.3.9.1