Home
last modified time | relevance | path

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

/external/libchrome/base/threading/
Dscoped_blocking_call.cc15 tls_blocking_observer = LAZY_INSTANCE_INITIALIZER; variable
24 : blocking_observer_(tls_blocking_observer.Get().Get()), in ScopedBlockingCall()
51 DCHECK(!tls_blocking_observer.Get().Get()); in SetBlockingObserverForCurrentThread()
52 tls_blocking_observer.Get().Set(blocking_observer); in SetBlockingObserverForCurrentThread()
56 tls_blocking_observer.Get().Set(nullptr); in ClearBlockingObserverForTesting()
60 : blocking_observer_(tls_blocking_observer.Get().Get()) { in ScopedClearBlockingObserverForTesting()
61 tls_blocking_observer.Get().Set(nullptr); in ScopedClearBlockingObserverForTesting()
66 DCHECK(!tls_blocking_observer.Get().Get()); in ~ScopedClearBlockingObserverForTesting()
67 tls_blocking_observer.Get().Set(blocking_observer_); in ~ScopedClearBlockingObserverForTesting()