Home
last modified time | relevance | path

Searched refs:mutex_ptr (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/rusqlite/src/
Dinner_connection.rs396 let mutex_ptr = ffi::sqlite3_mutex_alloc(0); in ensure_safe_sqlite_threading_mode() localVariable
397 let is_singlethreaded = mutex_ptr as usize == SQLITE_SINGLETHREADED_MUTEX_MAGIC; in ensure_safe_sqlite_threading_mode()
398 ffi::sqlite3_mutex_free(mutex_ptr); in ensure_safe_sqlite_threading_mode()
/external/llvm-project/lldb/examples/interposing/darwin/fd_interposing/
DFDInterposing.cpp253 Locker(pthread_mutex_t *mutex_ptr) : m_mutex_ptr(mutex_ptr) { in Locker() argument
258 Locker(pthread_mutex_t *mutex_ptr, bool &lock_acquired) : m_mutex_ptr(NULL) { in Locker() argument
259 lock_acquired = ::pthread_mutex_trylock(mutex_ptr) == 0; in Locker()
261 m_mutex_ptr = mutex_ptr; in Locker()