Home | History | Annotate | Download | only in dist

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 */
25965 ** Any attempt to lock or unlock a file first checks the locking
26648 OSTRACE(("UNLOCK %d %d was %d(%d,%d) pid=%d (unix)\n", pFile->h, eFileLock,
27058 OSTRACE(("UNLOCK %d %d was %d pid=%d (dotlock)\n", pFile->h, eFileLock,
27075 /* To fully unlock the database, delete the lock file */
27166 /* got the lock, unlock it */
27170 /* unlock failed with an error */
27277 OSTRACE(("UNLOCK %d %d was %d pid=%d (flock)\n", pFile->h, eFileLock,
27292 /* no, really, unlock. */
27445 OSTRACE(("UNLOCK %d %d was %d pid=%d (sem)\n", pFile->h, eFileLock,
27460 /* no, really unlock. */
27522 unsigned char unLockFlag; /* 1 = unlock, 0 = lock */
27608 /* if we succeeded in taking the reserved lock, unlock it to restore
27844 OSTRACE(("UNLOCK %d %d was %d(%d,%d) pid=%d (afp)\n", pFile->h, eFileLock,
28795 OSTRACE(("unlock %d ok", ofst));
28810 OSTRACE(("unlock %d failed", ofst));
29190 /* Unlock the system-level locks */
29364 ** methods CLOSE, LOCK, UNLOCK, CKRESLOCK.
29369 #define IOMETHODS(FINDER, METHOD, VERSION, CLOSE, LOCK, UNLOCK, CKLOCK) \
29379 UNLOCK, /* xUnlock */ \
34224 OSTRACE(("UNLOCK %d to %d was %d(%d)\n", pFile->h, locktype,
34479 int nByte /* Number of bytes to lock or unlock */
34764 /* Unlock the system-level locks */
38384 /* Used by readers to open (lock) and close (unlock) a snapshot. A
38654 ** in WRITER_LOCKED state, all that is required is to unlock the database
39482 ** Unlock the database file to level eLock, which must be either NO_LOCK
39502 IOTRACE(("UNLOCK %p %d\n", pPager, eLock))
40198 /* If the pager is in the ERROR state and the call to unlock the database
40314 ** any of the IO operations to finalize the journal file or unlock the
40317 ** tries to unlock the database file if not in exclusive mode. If the
40318 ** unlock operation fails as well, then the first error code related
40324 int rc2 = SQLITE_OK; /* Error code from db file unlock operation */
40421 ** Execute a rollback if a transaction is active and unlock the
40426 ** call to pager_unlock() will discard all in-memory pages, unlock
42218 ** into the ERROR state. This causes UnlockAndRollback to unlock the
43274 ** pager_unlock() routine will be called before returning to unlock
43275 ** the file. If the unlock attempt fails, then Pager.eLock must be
43369 ** transaction and unlock the pager.
43372 ** the rollback journal, the unlock is not performed and there is
44658 ** the transaction or unlock the database, it just restores the
49150 ** p, then first unlock all of the others on p->pNext, then wait
51761 ** actually pageSize. Unlock the database, leave pBt->pPage1 at
52532 ** call below will unlock the pager. */
52541 /* Set the current transaction state to TRANS_NONE and unlock the
60540 ** Unlock all of the btrees previously locked by a call to sqlite3VdbeEnter().
61805 ** to invoke any required unlock-notify callbacks.
101287 ** to read the schema was concluded. Unlock it here so that this doesn't
101574 ** Locks nest. Every lock should have a corresponding unlock.
101575 ** If an unlock is omitted, resources leaks will occur.
113232 ** locks and does not require any further unlock-notify callbacks.
115644 ** Register an unlock-notify callback.
115735 ** set to db, then invoke the configured unlock-notify callback and
115743 void (*xUnlockNotify)(void **, int) = 0; /* Unlock-notify cb to invoke */
115746 void **aArg; /* Arguments to the unlock callback */
115784 ** be passed to the unlock-notify callback is larger than the
115791 ** closed and the unlock-notify callbacks on blocked connections
115793 ** indefinitely for an unlock-notify callback that will never
115796 ** Instead, invoke the unlock-notify callback with the context