Lines Matching defs:flag
24 // flag before going onto the next stage. Since the wait may only be canceled in
29 // A thread-safe, reference-counted, write-once flag.
63 Flag* flag)
66 flag_(flag) { }
99 void AsyncCallbackHelper(Flag* flag,
103 if (!flag->value()) {
106 flag->Set();
201 // We set the flag in case the task hasn't yet run. The flag will stop the
203 // reference to the flag and it will be deleted immedately after.
237 // not have run yet, so we set the flag to tell it not to bother enqueuing the
244 // hasn't yet run, the flag will stop the delegate from getting called. (This