Lines Matching refs:ProxyLock
33 class PPAPI_SHARED_EXPORT ProxyLock {
35 // Return the global ProxyLock. Normally, you should not access this
37 // you need access to the ProxyLock, for example to create a condition
72 // startup, before other threads that may access the ProxyLock have had a
76 DISALLOW_IMPLICIT_CONSTRUCTORS(ProxyLock);
84 ProxyAutoLock() { ProxyLock::Acquire(); }
85 ~ProxyAutoLock() { ProxyLock::Release(); }
97 ProxyAutoUnlock() { ProxyLock::Release(); }
98 ~ProxyAutoUnlock() { ProxyLock::Acquire(); }
105 // the ProxyLock is unlocked. This assumes that the luck is held.
106 // CallWhileUnlocked unlocks the ProxyLock just before invoking the given
181 ProxyLock::AssertAcquired();
242 ProxyLock::AssertAcquired();
272 ProxyLock::AssertAcquired();
302 ProxyLock::AssertAcquired();
329 // 1) Locks the ProxyLock.
332 // 4) Unlocks the ProxyLock.
335 // which should hold the ProxyLock to avoid data races.
338 // want to ensure that the ProxyLock is acquired for the duration of the task