Home
last modified time | relevance | path

Searched refs:write_mutex (Results 1 – 6 of 6) sorted by relevance

/external/cronet/tot/third_party/apache-portable-runtime/src/locks/win32/
Dthread_rwlock.c31 if (! CloseHandle(rwlock->write_mutex)) in thread_rwlock_cleanup()
50 if (! ((*rwlock)->write_mutex = CreateMutex(NULL, FALSE, NULL))) { in apr_thread_rwlock_create()
65 DWORD code = WaitForSingleObject(rwlock->write_mutex, milliseconds); in apr_thread_rwlock_rdlock_core()
79 if (! ReleaseMutex(rwlock->write_mutex)) in apr_thread_rwlock_rdlock_core()
99 DWORD code = WaitForSingleObject(rwlock->write_mutex, milliseconds); in apr_thread_rwlock_wrlock_core()
117 if (! ReleaseMutex(rwlock->write_mutex)) in apr_thread_rwlock_wrlock_core()
142 if (! ReleaseMutex(rwlock->write_mutex)) in apr_thread_rwlock_unlock()
/external/cronet/stable/third_party/apache-portable-runtime/src/locks/win32/
Dthread_rwlock.c31 if (! CloseHandle(rwlock->write_mutex)) in thread_rwlock_cleanup()
50 if (! ((*rwlock)->write_mutex = CreateMutex(NULL, FALSE, NULL))) { in apr_thread_rwlock_create()
65 DWORD code = WaitForSingleObject(rwlock->write_mutex, milliseconds); in apr_thread_rwlock_rdlock_core()
79 if (! ReleaseMutex(rwlock->write_mutex)) in apr_thread_rwlock_rdlock_core()
99 DWORD code = WaitForSingleObject(rwlock->write_mutex, milliseconds); in apr_thread_rwlock_wrlock_core()
117 if (! ReleaseMutex(rwlock->write_mutex)) in apr_thread_rwlock_wrlock_core()
142 if (! ReleaseMutex(rwlock->write_mutex)) in apr_thread_rwlock_unlock()
/external/mesa3d/src/gallium/auxiliary/util/
Du_range.h49 simple_mtx_t write_mutex; member
71 simple_mtx_lock(&range->write_mutex); in util_range_add()
74 simple_mtx_unlock(&range->write_mutex); in util_range_add()
98 (void) simple_mtx_init(&range->write_mutex, mtx_plain); in util_range_init()
105 simple_mtx_destroy(&range->write_mutex); in util_range_destroy()
/external/rust/android-crates-io/crates/signal-hook-registry/src/
Dhalf_lock.rs108 write_mutex: Mutex<()>, field
121 write_mutex: Mutex::new(()), in new()
199 .write_mutex in write()
/external/cronet/tot/third_party/apache-portable-runtime/src/include/arch/win32/
Dapr_arch_thread_rwlock.h24 HANDLE write_mutex; member
/external/cronet/stable/third_party/apache-portable-runtime/src/include/arch/win32/
Dapr_arch_thread_rwlock.h24 HANDLE write_mutex; member