Lines Matching full:lock
23 // This class implements the underlying platform-specific spin-lock mechanism
24 // used for the Lock class. Most users should not use LockImpl directly, but
25 // should instead use Lock.
37 // If the lock is not held, take it and return true. If the lock is already
41 // Take the lock, blocking until it is available if necessary.
42 void Lock();
44 // Release the lock. This must only be called by the lock's holder: after
45 // a successful call to Try, or a call to Lock.
48 // Return the native underlying lock. Not supported for Windows builds.
49 // TODO(awalker): refactor lock and condition variables so that this is