Interface ManualEvent
A manually triggered cross-task event.
Properties
Name | Type | Description |
---|---|---|
emitCount
[get]
|
int |
A counter that is increased with every emit () call
|
Methods
Name | Description |
---|---|
emit
|
Emits the signal, waking up all owners of the signal. |
wait
|
Acquires ownership and waits until the signal is emitted. |
wait
|
Acquires ownership and waits until the signal is emitted if no emit has happened since the given reference emit count.
|
wait
|
Note
the ownership can be shared between multiple fibers and threads.
Authors
Leonid Kramer
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.