Home | History | Annotate | Download | only in orig

Lines Matching full:mutexes

1225 ** SQLite can be compiled with or without mutexes.  When
1226 ** the [SQLITE_THREADSAFE] C preprocessor macro is 1 or 2, mutexes
1229 ** the mutexes are omitted. Without the mutexes, it is not safe
1232 ** Enabling mutexes incurs a measurable performance penalty.
1234 ** the mutexes. But for maximum safety, mutexes should be enabled.
1235 ** ^The default behavior is for mutexes to be enabled.
1243 ** SQLITE_THREADSAFE=1 or =2 then mutexes are enabled by default but
2140 ** Mutexes are created using [sqlite3_mutex_alloc()].
2595 ** it might allocate any require mutexes or initialize internal data
2658 ** [database connections] and [prepared statements]. But other mutexes
2670 ** all mutexes including the recursive
2671 ** mutexes on [database connection] and [prepared statement] objects.
7727 ** CAPI3REF: Mutexes
7795 ** a pointer to a static preexisting mutex. ^Nine static mutexes are
7797 ** may add additional static mutexes. Static mutexes are for internal
7798 ** use by SQLite only. Applications that use SQLite mutexes should
7799 ** use only the dynamic mutexes returned by SQLITE_MUTEX_FAST or
7816 ** upon successful entry. ^(Mutexes created using
7850 ** used to allocate and use mutexes.
7948 ** using mutexes. And we do not want the assert() containing the
7964 ** The set of static mutexes may change from one SQLite release to the
7966 ** prepared to accommodate additional static mutexes.
12164 ** 0 means mutexes are permanently disable and the library is never
12246 mutexes on most Unix systems and fchmod() on OpenBSD.
13625 ** use mutexes to access the BtShared structures. So make the
14959 ** mutexes implementation cannot be overridden
15741 ** to avoid deadlock issues involving multiple sqlite3.mutex mutexes.
17179 int isMutexInit; /* True after mutexes are initialized */
17467 /* Access to mutexes used by sqlite3_status() */
22558 ** This function assumes that the necessary mutexes, if any, are
22640 ** This function assumes that the necessary mutexes, if any, are
23488 ** This file contains the C functions that implement mutexes.
23522 ** Type for all mutexes used when SQLITE_ENABLE_MULTITHREADED_CHECKS
23852 ** This file contains the C functions that implement mutexes.
23865 ** that does error checking on mutexes to make sure they are being
23913 ** and debugging purposes. The mutexes still do not provide any
23997 ** upon successful entry. Mutexes created using SQLITE_MUTEX_RECURSIVE can
24070 ** This file contains the C functions that implement mutexes for pthreads
24079 ** supports recursive mutexes.
24088 ** home-grown mutexes. Encapsulate these conditions into a single #define.
24146 ** where SQLite is compiled without mutexes.
24197 ** a pointer to a static preexisting mutex. Six static mutexes are
24199 ** may add additional static mutexes. Static mutexes are for internal
24200 ** use by SQLite only. Applications that use SQLite mutexes should
24201 ** use only the dynamic mutexes returned by SQLITE_MUTEX_FAST or
24231 /* If recursive mutexes are not available, we will have to
24296 ** upon successful entry. Mutexes created using SQLITE_MUTEX_RECURSIVE can
24306 /* If recursive mutexes are not available, then we have to grow
24314 ** are not met, then the mutexes will fail and problems will result.
24328 /* Use the built-in recursive mutexes if they are available.
24349 /* If recursive mutexes are not available, then we have to grow
24357 ** are not met, then the mutexes will fail and problems will result.
24374 /* Use the built-in recursive mutexes if they are available.
24460 ** This file contains the C functions that implement mutexes for Win32.
24787 ** on Win32. It should be noted that all mutexes require initialization
24821 ** compiled without mutexes (SQLITE_THREADSAFE=0).
24879 ** mutexes */
24937 ** a pointer to a static preexisting mutex. Six static mutexes are
24939 ** may add additional static mutexes. Static mutexes are for internal
24940 ** use by SQLite only. Applications that use SQLite mutexes should
24941 ** use only the dynamic mutexes returned by SQLITE_MUTEX_FAST or
25016 ** upon successful entry. Mutexes created using SQLITE_MUTEX_RECURSIVE can
40946 /* Since the names of named mutexes, semaphores, file mappings etc are
59397 ** This file contains code used to implement mutexes on Btree objects.
60273 ** Enter the mutexes in accending order by BtShared pointer address
60311 ** mutex and all required BtShared mutexes.
60334 ** Return true if the correct mutexes are held for accessing the
60335 ** db->aDb[iDb].pSchema structure. The mutexes required for schema
70455 ** the Btree objects may have their own mutexes that require locking.
70457 ** associated mutexes.
70994 /* Enter the mutexes */
71023 /* Exit the mutexes and free the backup context structure. */
72230 ** that both the BtShared and database handle mutexes are held. */
85565 /* Any prepared statement that invokes this opcode will hold mutexes
87251 ** release the mutexes on btrees that were acquired at the
101920 /* All mutexes are required for schema access. Make sure we hold them. */
102041 /* All mutexes
118329 ** This thread is currently holding mutexes on all Btrees (because
127599 ** This function may only be called when the mutexes associated with all
127604 ** 1) By this function. In this case, all BtShared mutexes and the mutex
144621 /* Obtain all b-tree mutexes before making any calls to BtreeRollback().
144623 ** modified the database schema. If the b-tree mutexes are not taken