Searched refs:_lock (Results 1 – 9 of 9) sorted by relevance
14 RWLockPosix::RWLockPosix() : _lock() in RWLockPosix()20 pthread_rwlock_destroy(&_lock); in ~RWLockPosix()25 return pthread_rwlock_init(&_lock, 0); in Init()30 pthread_rwlock_wrlock(&_lock); in AcquireLockExclusive()35 pthread_rwlock_unlock(&_lock); in ReleaseLockExclusive()40 pthread_rwlock_rdlock(&_lock); in AcquireLockShared()45 pthread_rwlock_unlock(&_lock); in ReleaseLockShared()
95 _PInitializeSRWLock(&_lock); in Init()108 _PAcquireSRWLockExclusive(&_lock); in AcquireLockExclusive()130 _PReleaseSRWLockExclusive(&_lock); in ReleaseLockExclusive()149 _PAcquireSRWLockShared(&_lock); in AcquireLockShared()172 _PReleaseSRWLockShared(&_lock); in ReleaseLockShared()
35 pthread_rwlock_t _lock;
57 SRWLOCK _lock; variable
55 _lock = None variable in _CygPath60 if not _CygPath._lock:63 with _CygPath._lock:69 if not _CygPath._lock:70 _CygPath._lock = threading.Lock()72 with _CygPath._lock:
38 self._lock = threading.Lock()41 with self._lock:45 with self._lock:49 with self._lock:
94 # define PLIST_HEAD_LOCK_INIT(_lock) .lock = _lock argument96 # define PLIST_HEAD_LOCK_INIT(_lock) argument104 #define PLIST_HEAD_INIT(head, _lock) \ argument108 PLIST_HEAD_LOCK_INIT(&(_lock)) \
679 Name : _lock
5130 _IO_lock_t *_lock; member