Home
last modified time | relevance | path

Searched refs:kShutdownHasStartedMask (Results 1 – 2 of 2) sorted by relevance

/external/cronet/base/task/thread_pool/
Dtask_tracker.cc144 subtle::NoBarrier_AtomicIncrement(&bits_, kShutdownHasStartedMask); in StartShutdown()
148 DCHECK(new_value & kShutdownHasStartedMask); in StartShutdown()
157 return subtle::NoBarrier_Load(&bits_) & kShutdownHasStartedMask; in HasShutdownStarted()
182 return new_bits & kShutdownHasStartedMask; in IncrementNumItemsBlockingShutdown()
190 const bool shutdown_has_started = new_bits & kShutdownHasStartedMask; in DecrementNumItemsBlockingShutdown()
198 static constexpr subtle::Atomic32 kShutdownHasStartedMask = 1; member in base::internal::TaskTracker::State
/external/libchrome/base/task_scheduler/
Dtask_tracker.cc141 subtle::NoBarrier_AtomicIncrement(&bits_, kShutdownHasStartedMask); in StartShutdown()
145 DCHECK(new_value & kShutdownHasStartedMask); in StartShutdown()
154 return subtle::NoBarrier_Load(&bits_) & kShutdownHasStartedMask; in HasShutdownStarted()
179 return new_bits & kShutdownHasStartedMask; in IncrementNumTasksBlockingShutdown()
187 const bool shutdown_has_started = new_bits & kShutdownHasStartedMask; in DecrementNumTasksBlockingShutdown()
195 static constexpr subtle::Atomic32 kShutdownHasStartedMask = 1; member in base::internal::TaskTracker::State