Lines Matching defs:mutex
713 ** Helper functions to obtain and relinquish the global mutex. The
714 ** global mutex is used to protect os2ShmNodeList.
716 ** Function os2ShmMutexHeld() is used to assert() that the global mutex
759 ** Either os2ShmNode.mutex must be held or os2ShmNode.nRef==0 and
765 sqlite3_mutex *mutex; /* Mutex to access this object */
791 ** All other fields are read/write. The os2Shm.pShmNode->mutex must be held
841 assert( sqlite3_mutex_held(pNode->mutex) || pNode->nRef==0 );
933 pNode->mutex = sqlite3_mutex_alloc(SQLITE_MUTEX_FAST);
934 if( !pNode->mutex ) {
955 sqlite3_mutex_enter(pNode->mutex);
966 sqlite3_mutex_leave(pNode->mutex);
1035 sqlite3_mutex_free(pNode->mutex);
1088 sqlite3_mutex_enter(pNode->mutex);
1142 sqlite3_mutex_leave(pNode->mutex);
1170 sqlite3_mutex_enter(pNode->mutex);
1189 sqlite3_mutex_leave(pNode->mutex);
1231 sqlite3_mutex_enter(pShmNode->mutex);
1306 sqlite3_mutex_leave(pShmNode->mutex);