Rename CancellationFlag to AtomicFlag |
||
Issue descriptionCancellationFlag is really just a flag that can be set once from one thread and read from a number of other threads. It is already used to express other things than cancellation (e.g. in after_startup_task_utils.cc) and could be used at a few places in base/task_scheduler instead of WaitableEvent. To allow that, we should rename CancellationFlag to AtomicFlag.
,
Jan 4
There are still instances of CancellationFlag in the codebase : https://cs.chromium.org/search/?q=%5CbCancellationFlag&sq=package:chromium&type=cs |
||
►
Sign in to add a comment |
||
Comment 1 by fdoray@chromium.org
, Jul 27 2016