Home
last modified time | relevance | path

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

/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_globals.h24 void Lock() { pthread_mutex_lock(&lock_); } in Lock()
26 void Unlock() { pthread_mutex_unlock(&lock_); } in Unlock()
37 pthread_mutex_t lock_;
Dcrazy_linker_globals.cpp23 pthread_mutex_init(&lock_, NULL); in Globals()
27 Globals::~Globals() { pthread_mutex_destroy(&lock_); } in ~Globals()
/ndk/sources/cxx-stl/gabi++/src/
Dcxxabi.cc67 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::AutoLock
108 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 …]