Small. Fast. Reliable.
Choose any three.

SQLite C Interface

Maximum xShmLock index

#define SQLITE_SHM_NLOCK        8

The xShmLock method on sqlite3_io_methods may use values between 0 and this upper bound as its "offset" argument. The SQLite core will never attempt to acquire or release a lock outside of this range

See also lists of Objects, Constants, and Functions.