Support for z/OS.

Support is behind sqlite3_flock build tag, and tested through s390x Linux. See #86.
This commit is contained in:
Nuno Cruces
2024-05-04 09:48:50 +01:00
parent 10c494031c
commit 5d5c302ff4
6 changed files with 13 additions and 6 deletions

View File

@@ -31,6 +31,10 @@ However, concurrency is reduced with BSD locks
On Windows, this module uses `LockFileEx` and `UnlockFileEx`,
like SQLite.
On Linux and z/OS, BSD locks are fully functional,
but incompatible with POSIX advisory locks (and SQLite).
You can opt into BSD locks with the `sqlite3_flock` build tag.
On all other platforms, file locking is not supported, and you must use
[`nolock=1`](https://sqlite.org/uri.html#urinolock)
(or [`immutable=1`](https://sqlite.org/uri.html#uriimmutable))