Lines Matching defs:pMutex
23958 sqlite3_mutex *pMutex;
23966 pMutex = statMutex[op] ? sqlite3Pcache1Mutex() : sqlite3MallocMutex();
23967 sqlite3_mutex_enter(pMutex);
23973 sqlite3_mutex_leave(pMutex);
23974 (void)pMutex; /* Prevent warning when SQLITE_THREADSAFE=0 */
52434 MUTEX_LOGIC( sqlite3_mutex *pMutex; )
52435 MUTEX_LOGIC( pMutex = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_TEMPDIR); )
52436 sqlite3_mutex_enter(pMutex);
52438 sqlite3_mutex_leave(pMutex);
52907 ** Shared memdb objects have .zFName!=0 and .pMutex!=0. They are created
52921 ** .pMutex is held or the object is not part of memdb_g.apMemStore[].
52923 ** * Can .pMutex can only be changed while holding the
52927 ** * Other fields can only be changed while holding the .pMutex mutex
52940 sqlite3_mutex *pMutex; /* Used by shared stores only */
53061 sqlite3_mutex_enter(p->pMutex);
53064 sqlite3_mutex_leave(p->pMutex);
53106 sqlite3_mutex_free(p->pMutex);
53454 p->pMutex = sqlite3_mutex_alloc(SQLITE_MUTEX_FAST);
53455 if( p->pMutex==0 ){
53645 assert( pStore->pMutex==0 );