• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/sqlite-3.6.22/

Lines Matching defs:busy

2042 ** ^If the busy callback is NULL, then [SQLITE_BUSY] or [SQLITE_IOERR_BLOCKED]
2043 ** is returned immediately upon encountering the lock. ^If the busy callback
2046 ** ^The first argument to the busy handler is a copy of the void* pointer which
2048 ** the busy handler callback is the number of times that the busy handler has
2050 ** busy callback returns 0, then no additional attempts are made to
2055 ** The presence of a busy handler does not guarantee that it will be invoked
2056 ** when there is lock contention. ^If SQLite determines that invoking the busy
2058 ** or [SQLITE_IOERR_BLOCKED] instead of invoking the busy handler.
2065 ** invoke the busy handlers, neither will make any progress. Therefore,
2070 ** ^The default busy callback is NULL.
2087 ** ^(There can only be a single busy handler defined for each
2088 ** [database connection]. Setting a new busy handler clears any
2090 ** will also set or clear the busy handler.
2092 ** The busy callback should not take any actions which modify the
2093 ** database connection that invoked the busy handler. Any such actions
2096 ** A busy handler must not close the database connection
2097 ** or [prepared statement] that invoked the busy handler.
2104 ** ^This routine sets a [sqlite3_busy_handler | busy handler] that sleeps
2112 ** turns off all busy handlers.
2114 ** ^(There can only be a single busy handler for a particular
2115 ** [database connection] any any given moment. If another busy handler
2117 ** this routine, that other busy handler is cleared.)^
5933 ** the [sqlite3_busy_handler | busy-handler function]
5935 ** busy-handler returns non-zero before the lock is available, then
6664 ** An instance of the following structure is used to store the busy-handler
6667 ** The sqlite.busyHandler member of the sqlite struct contains the busy
6669 ** handle is passed a pointer to sqlite.busyHandler. The busy-handler
6674 int (*xFunc)(void *,int); /* The busy callback */
6675 void *pArg; /* First arg to busy callback */
6676 int nBusy; /* Incremented with each busy call */
8317 u8 busy; /* TRUE if currently initializing */
23563 /* didn't get, must be busy */
31522 int (*xBusyHandler)(void*); /* Function to call when busy */
33483 ** Set the busy handler function.
33485 ** The pager invokes the busy-handler if sqlite3OsLock() returns
33488 ** lock. It does *not* invoke the busy handler when upgrading from
33499 ** If the busy-handler callback returns non-zero, the lock is
33505 int (*xBusyHandler)(void *), /* Pointer to busy-handler function */
33735 ** the busy callback if the lock is currently not available. Repeat
33736 ** until the busy callback returns false or until the attempt to
33758 ** already held, or one of the transistions that the busy-handler
35307 ** busy-handler callback can be used when upgrading to the EXCLUSIVE
39218 ** Invoke the busy handler for a btree.
39973 ** and the database was previously unlocked, then invoke the busy handler
39975 ** invoke the busy handler - just return SQLITE_BUSY. SQLITE_BUSY is
39982 ** no progress. By returning SQLITE_BUSY and not invoking the busy callback
49100 ** that the correct busy-handler callback is invoked if required.
50589 if( db->xProfile && !db->init.busy ){
50616 if( rc!=SQLITE_ROW && db->xProfile && !db->init.busy && p->zSql ){
52237 ** will either invoke the busy callback (if there is one) or it will
56773 ** will not be reloaded becuase the db->init.busy flag is set. This
56791 assert( db->init.busy==0 );
56792 db->init.busy = 1;
56798 db->init.busy = 0;
66167 if( db->init.busy || IN_DECLARE_VTAB ){
66372 if( db->init.busy==0 ){
66875 if( db->init.busy ) {
66888 assert( db->init.iDb==0 || db->init.busy );
66903 if( !pParse->db->init.busy && pParse->nested==0
67022 if( sqlite3FindIndex(db, zName, 0)!=0 && (iDb==0 || !db->init.busy) ){
67061 if( !db->init.busy && (v = sqlite3GetVdbe(pParse))!=0 ){
67474 u8 initbusy = db->init.busy;
67644 ** this is a temporary table or db->init.busy==1. When db->init.busy==1
67671 assert( !db->init.busy || !pSelect );
67697 /* If the db->init.busy is 1 it means we are reading the SQL off the
67703 if( db->init.busy ){
67713 if( !db->init.busy ){
67828 if( db->init.busy ){
67911 if( !db->init.busy ){
68640 if( !db->init.busy ){
68706 if( !db->init.busy ){
68855 if( !db->init.busy && !sqlite3LocateCollSeq(pParse, zColl) ){
68927 if( db->init.busy ){
68943 /* If the db->init.busy is 0 then create the index on disk. This
68947 ** The db->init.busy is 0 when the user first enters a CREATE INDEX
68948 ** command. db->init.busy is 1 when a database is opened and
68958 else{ /* if( db->init.busy==0 ) */
69018 if( db->init.busy || pTblName==0 ){
78191 ** But because db->init.busy is set to 1, no VDBE code is generated
78197 assert( db->init.busy );
78433 assert( db->init.busy );
78510 db->init.busy = 1;
78533 db->init.busy = 0;
78549 if( !db->init.busy ){
78779 assert( db->init.busy==0 || saveSqlFlag==0 );
78780 if( db->init.busy==0 ){
83760 if( !db->init.busy ){
83780 if( db->init.busy ){
85894 if( !db->init.busy ){
95996 ** This routine implements a busy callback that sleeps and tries
96003 int count /* Number of times table has been busy */
96041 ** Invoke the given busy handler.
96060 ** This routine sets the busy callback for an Sqlite database to the
96104 ** This routine installs a default busy handler that waits for the
96602 ** sequence. If so, and there are active VMs, return busy. If there
97665 ** (call it pOther) in the same process was busy using the same shared