Lines Matching refs:SQLITE_MUTEX_RECURSIVE

6753 ** <li>  SQLITE_MUTEX_RECURSIVE
6768 ** ^The first two constants (SQLITE_MUTEX_FAST and SQLITE_MUTEX_RECURSIVE)
6770 ** a new mutex. ^The new mutex is recursive when SQLITE_MUTEX_RECURSIVE
6773 ** between SQLITE_MUTEX_RECURSIVE and SQLITE_MUTEX_FAST if it does
6780 ** than SQLITE_MUTEX_FAST and SQLITE_MUTEX_RECURSIVE) each return
6786 ** SQLITE_MUTEX_RECURSIVE.
6789 ** or SQLITE_MUTEX_RECURSIVE) is used then sqlite3_mutex_alloc()
6803 ** SQLITE_MUTEX_RECURSIVE can be entered multiple times by the same thread.
6807 ** than an SQLITE_MUTEX_RECURSIVE more than once, the behavior is undefined.
6955 #define SQLITE_MUTEX_RECURSIVE 1
22806 if( id<=SQLITE_MUTEX_RECURSIVE && sqlite3_initialize() ) return 0;
22807 if( id>SQLITE_MUTEX_RECURSIVE && sqlite3MutexInit() ) return 0;
23001 case SQLITE_MUTEX_RECURSIVE: {
23030 if( p->id==SQLITE_MUTEX_RECURSIVE || p->id==SQLITE_MUTEX_FAST ){
23044 ** upon successful entry. Mutexes created using SQLITE_MUTEX_RECURSIVE can
23052 assert( p->id==SQLITE_MUTEX_RECURSIVE || debugMutexNotheld(pX) );
23057 assert( p->id==SQLITE_MUTEX_RECURSIVE || debugMutexNotheld(pX) );
23072 assert( p->id==SQLITE_MUTEX_RECURSIVE || debugMutexNotheld(pX) );
23218 ** <li> SQLITE_MUTEX_RECURSIVE
23234 ** a new mutex. The new mutex is recursive when SQLITE_MUTEX_RECURSIVE
23237 ** between SQLITE_MUTEX_RECURSIVE and SQLITE_MUTEX_FAST if it does
23249 ** SQLITE_MUTEX_RECURSIVE.
23252 ** or SQLITE_MUTEX_RECURSIVE) is used then sqlite3_mutex_alloc()
23274 case SQLITE_MUTEX_RECURSIVE: {
23325 if( p->id==SQLITE_MUTEX_FAST || p->id==SQLITE_MUTEX_RECURSIVE )
23343 ** upon successful entry. Mutexes created using SQLITE_MUTEX_RECURSIVE can
23350 assert( p->id==SQLITE_MUTEX_RECURSIVE || pthreadMutexNotheld(p) );
23393 assert( p->id==SQLITE_MUTEX_RECURSIVE || pthreadMutexNotheld(p) );
23454 assert( p->nRef==0 || p->id==SQLITE_MUTEX_RECURSIVE );
23958 ** <li> SQLITE_MUTEX_RECURSIVE
23974 ** a new mutex. The new mutex is recursive when SQLITE_MUTEX_RECURSIVE
23977 ** between SQLITE_MUTEX_RECURSIVE and SQLITE_MUTEX_FAST if it does
23989 ** SQLITE_MUTEX_RECURSIVE.
23992 ** or SQLITE_MUTEX_RECURSIVE) is used then sqlite3_mutex_alloc()
24002 case SQLITE_MUTEX_RECURSIVE: {
24048 if( p->id==SQLITE_MUTEX_FAST || p->id==SQLITE_MUTEX_RECURSIVE ){
24063 ** upon successful entry. Mutexes created using SQLITE_MUTEX_RECURSIVE can
24075 assert( p->id==SQLITE_MUTEX_RECURSIVE || winMutexNotheld2(p, tid) );
24098 assert( p->id==SQLITE_MUTEX_RECURSIVE || winMutexNotheld2(p, tid) );
24152 assert( p->nRef==0 || p->id==SQLITE_MUTEX_RECURSIVE );
140094 sqlite3MutexAlloc(SQLITE_MUTEX_RECURSIVE);
142775 db->mutex = sqlite3MutexAlloc(SQLITE_MUTEX_RECURSIVE);
173447 pNew->mutex = sqlite3_mutex_alloc(SQLITE_MUTEX_RECURSIVE);