Lines Matching defs:OneShotEvent
28 // allows clients to guarantee that code is run after the OneShotEvent
29 // is signaled. If the OneShotEvent is destroyed before it's
36 class OneShotEvent {
38 OneShotEvent();
43 explicit OneShotEvent(bool signaled);
44 ~OneShotEvent();
61 // post. Inside |task|, if this OneShotEvent is still alive,
63 // OneShotEvent::Reset() doesn't exist).
74 // on a OneShotEvent to complete, so it's almost never safe to use
102 // OneShotEvent to clients that just want to run tasks through it