Searched refs:lock_ (Results 1 – 3 of 3) sorted by relevance
24 void Lock() { pthread_mutex_lock(&lock_); } in Lock()26 void Unlock() { pthread_mutex_unlock(&lock_); } in Unlock()37 pthread_mutex_t lock_;
23 pthread_mutex_init(&lock_, NULL); in Globals()27 Globals::~Globals() { pthread_mutex_destroy(&lock_); } in ~Globals()
67 AutoLock(pthread_mutex_t& lock) : lock_(lock) { in AutoLock()68 pthread_mutex_lock(&lock_); in AutoLock()72 pthread_mutex_unlock(&lock_); in ~AutoLock()75 pthread_mutex_t& lock_; member in __anonec9939a20111::AutoLock108 pthread_mutex_init(&lock_, NULL); in InitExplicit()116 pthread_mutex_lock(&lock_); in Deinit()123 pthread_mutex_unlock(&lock_); in Deinit()124 pthread_mutex_destroy(&lock_); in Deinit()129 AutoLock lock(lock_); in Alloc()144 AutoLock lock(lock_); in Release()[all …]