Function reset [src]

Unmarks the ResetEvent from its "set" state if set() was called previously. It is undefined behavior is reset() is called while threads are blocked in wait() or timedWait(). Concurrent calls to set(), isSet() and reset() are allowed.

Prototype

pub fn reset(self: *ResetEvent) void

Parameters

self: *ResetEvent

Source

pub fn reset(self: *ResetEvent) void { self.impl.reset(); }