Struct ManualEvent
A manually triggered multi threaded cross-task event.
struct ManualEvent
;
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 at least one waiting task |
opCast
()
|
|
wait
()
|
Acquires ownership and waits until the signal is emitted. |
wait
(emit_count)
|
Acquires ownership and waits until the emit count differs from the given one or until a timeout is reached. |
waitUninterruptible
()
|
Same as wait , but defers throwing any InterruptException .
|
Enums
Name | Description |
---|---|
EmitMode
|
Note
the ownership can be shared between multiple fibers and threads.