Home | History | Annotate | Download | only in orig

Lines Matching refs:UNLOCK

7063 ** CAPI3REF: Unlock Notification
7074 ** See Also: [Using the SQLite Unlock Notification Feature].
7101 ** ^(There may be at most one unlock-notify callback registered by a
7103 ** blocked connection already has a registered unlock-notify callback,
7106 ** unlock-notify callback is canceled. ^The blocked connections
7107 ** unlock-notify callback may also be canceled by closing the blocked
7110 ** The unlock-notify callback is not reentrant. If an application invokes
7111 ** any sqlite3_xxx API functions from within an unlock-notify callback, a
7119 ** When an unlock-notify callback is registered, the application provides a
7123 ** an unlock-notify callback is a pointer to an array of void* pointers,
7127 ** more than one blocked connection that has registered for an unlock-notify
7137 ** Assuming that after registering for an unlock-notify callback a
7148 ** unlock-notify callback is registered. The system is said to be in
7149 ** a deadlocked state if connection A has registered for an unlock-notify
7151 ** B has itself registered for an unlock-notify callback when connection
7154 ** registered for an unlock-notify callback on the conclusion of connection
7166 ** sqlite3_unlock_notify() results in the unlock-notify callback being
9807 ** unlock so that it can proceed.
9814 sqlite3 *pUnlockConnection; /* Connection to watch for unlock */
9816 void (*xUnlockNotify)(void **, int); /* Unlock notify callback */
23168 OSTRACE(( "UNLOCK-READLOCK file handle=%d res=%d?\n", id->h, res ));
23361 OSTRACE(( "TEST WR-LOCK %d unlock reserved byte r=%d\n", pFile->h, rcu ));
23392 OSTRACE(( "UNLOCK %d to %d was %d\n", pFile->h, locktype, pFile->locktype ));
23400 OSTRACE(( "UNLOCK %d exclusive lock res=%d\n", pFile->h, res ));
23404 OSTRACE(( "UNLOCK %d to %d getReadLock() failed\n", pFile->h, locktype ));
23414 OSTRACE(( "UNLOCK %d reserved res=%d\n", pFile->h, res ));
23418 OSTRACE(( "UNLOCK %d is %d want %d res=%d\n",
23427 OSTRACE(( "UNLOCK %d pending res=%d\n", pFile->h, res ));
23430 OSTRACE(( "UNLOCK %d now %d\n", pFile->h, pFile->locktype ));
23715 int nByte /* Number of bytes to lock or unlock */
23748 lockType==_SHM_UNLCK ? "Unlock" : "Lock",
24124 /* Unlock the system-level locks */
25954 ** Any attempt to lock or unlock a file first checks the locking
26637 OSTRACE(("UNLOCK %d %d was %d(%d,%d) pid=%d (unix)\n", pFile->h, eFileLock,
27047 OSTRACE(("UNLOCK %d %d was %d pid=%d (dotlock)\n", pFile->h, eFileLock,
27064 /* To fully unlock the database, delete the lock file */
27155 /* got the lock, unlock it */
27159 /* unlock failed with an error */
27266 OSTRACE(("UNLOCK %d %d was %d pid=%d (flock)\n", pFile->h, eFileLock,
27281 /* no, really, unlock. */
27434 OSTRACE(("UNLOCK %d %d was %d pid=%d (sem)\n", pFile->h, eFileLock,
27449 /* no, really unlock. */
27511 unsigned char unLockFlag; /* 1 = unlock, 0 = lock */
27597 /* if we succeeded in taking the reserved lock, unlock it to restore
27833 OSTRACE(("UNLOCK %d %d was %d(%d,%d) pid=%d (afp)\n", pFile->h, eFileLock,
28784 OSTRACE(("unlock %d ok", ofst));
28799 OSTRACE(("unlock %d failed", ofst));
29179 /* Unlock the system-level locks */
29353 ** methods CLOSE, LOCK, UNLOCK, CKRESLOCK.
29358 #define IOMETHODS(FINDER, METHOD, VERSION, CLOSE, LOCK, UNLOCK, CKLOCK) \
29368 UNLOCK, /* xUnlock */ \
34213 OSTRACE(("UNLOCK %d to %d was %d(%d)\n", pFile->h, locktype,
34468 int nByte /* Number of bytes to lock or unlock */
34753 /* Unlock the system-level locks */
38373 /* Used by readers to open (lock) and close (unlock) a snapshot. A
38643 ** in WRITER_LOCKED state, all that is required is to unlock the database
39471 ** Unlock the database file to level eLock, which must be either NO_LOCK
39491 IOTRACE(("UNLOCK %p %d\n", pPager, eLock))
40187 /* If the pager is in the ERROR state and the call to unlock the database
40303 ** any of the IO operations to finalize the journal file or unlock the
40306 ** tries to unlock the database file if not in exclusive mode. If the
40307 ** unlock operation fails as well, then the first error code related
40313 int rc2 = SQLITE_OK; /* Error code from db file unlock operation */
40410 ** Execute a rollback if a transaction is active and unlock the
40415 ** call to pager_unlock() will discard all in-memory pages, unlock
42207 ** into the ERROR state. This causes UnlockAndRollback to unlock the
43263 ** pager_unlock() routine will be called before returning to unlock
43264 ** the file. If the unlock attempt fails, then Pager.eLock must be
43358 ** transaction and unlock the pager.
43361 ** the rollback journal, the unlock is not performed and there is
44647 ** the transaction or unlock the database, it just restores the
49139 ** p, then first unlock all of the others on p->pNext, then wait
51750 ** actually pageSize. Unlock the database, leave pBt->pPage1 at
52521 ** call below will unlock the pager. */
52530 /* Set the current transaction state to TRANS_NONE and unlock the
60529 ** Unlock all of the btrees previously locked by a call to sqlite3VdbeEnter().
61794 ** to invoke any required unlock-notify callbacks.
101276 ** to read the schema was concluded. Unlock it here so that this doesn't
101563 ** Locks nest. Every lock should have a corresponding unlock.
101564 ** If an unlock is omitted, resources leaks will occur.
113221 ** locks and does not require any further unlock-notify callbacks.
115618 ** Register an unlock-notify callback.
115709 ** set to db, then invoke the configured unlock-notify callback and
115717 void (*xUnlockNotify)(void **, int) = 0; /* Unlock-notify cb to invoke */
115720 void **aArg; /* Arguments to the unlock callback */
115758 ** be passed to the unlock-notify callback is larger than the
115765 ** closed and the unlock-notify callbacks on blocked connections
115767 ** indefinitely for an unlock-notify callback that will never
115770 ** Instead, invoke the unlock-notify callback with the context