pub fn reset(e: *Event) void
Sets the logical boolean to false.
Assumes that there is no pending call to wait or waitUncancelable.
wait
waitUncancelable
However, concurrent calls to isSet, set, and reset are allowed.
isSet
set
reset
e: *Event
2061 2062 2063
pub fn reset(e: *Event) void { @atomicStore(Event, e, .unset, .monotonic); }
Sets the logical boolean to false.
Assumes that there is no pending call to
waitorwaitUncancelable.However, concurrent calls to
isSet,set, andresetare allowed.