Struct LocalManualEvent
A manually triggered single threaded cross-task event.
struct LocalManualEvent
;
Methods
Name | Description |
---|---|
emit
()
|
Emits the signal, waking up all owners of the signal. |
emitCount
()
|
A counter that is increased with every emit() call |
emitSingle
()
|
Emits the signal, waking up a single owners of the signal. |
opCast
()
|
|
wait
()
|
Acquires ownership and waits until the signal is emitted. |
wait
(emit_count)
|
Acquires ownership and waits until the signal is emitted and the emit count is larger than a given one. |
waitUninterruptible
()
|
Same as wait , but defers throwing any InterruptException .
|
Note
the ownership can be shared between multiple fibers of the same thread.