Searched refs:mutex_ptr (Results 1 – 2 of 2) sorted by relevance
396 let mutex_ptr = ffi::sqlite3_mutex_alloc(0); in ensure_safe_sqlite_threading_mode() localVariable397 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()
253 Locker(pthread_mutex_t *mutex_ptr) : m_mutex_ptr(mutex_ptr) { in Locker() argument258 Locker(pthread_mutex_t *mutex_ptr, bool &lock_acquired) : m_mutex_ptr(NULL) { in Locker() argument259 lock_acquired = ::pthread_mutex_trylock(mutex_ptr) == 0; in Locker()261 m_mutex_ptr = mutex_ptr; in Locker()