SQLITE_LOCK_NONE(3)

NAME
SQLITE_LOCK_NONE, SQLITE_LOCK_SHARED, SQLITE_LOCK_RESERVED, SQLITE_LOCK_PENDING, SQLITE_LOCK_EXCLUSIVE - file locking levels

SYNOPSIS
#include <sqlite3.h>
#define SQLITE_LOCK_NONE
#define SQLITE_LOCK_SHARED
#define SQLITE_LOCK_RESERVED
#define SQLITE_LOCK_PENDING
#define SQLITE_LOCK_EXCLUSIVE

DESCRIPTION
SQLite uses one of these integer values as the second argument to calls it makes to the xLock() and xUnlock() methods of an sqlite3_io_methods object. These values are ordered from least restrictive to most restrictive.

The argument to xLock() is always SHARED or higher. The argument to xUnlock is either SHARED or NONE.

IMPLEMENTATION NOTES
These declarations were extracted from the interface documentation at line 689.

    #define SQLITE_LOCK_NONE          0       /* xUnlock() only */
    #define SQLITE_LOCK_SHARED        1       /* xLock() or xUnlock() */
    #define SQLITE_LOCK_RESERVED      2       /* xLock() only */
    #define SQLITE_LOCK_PENDING       3       /* xLock() only */
    #define SQLITE_LOCK_EXCLUSIVE     4       /* xLock() only */

SEE ALSO
sqlite3_io_methods(3)