From af473c7519e83086f6fb9f5d1f7cc9cb2e0b206c Mon Sep 17 00:00:00 2001 From: Nuno Cruces Date: Wed, 6 Nov 2024 01:34:21 +0000 Subject: [PATCH] Update README.md --- vfs/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vfs/README.md b/vfs/README.md index f274c0b..cf0e3c3 100644 --- a/vfs/README.md +++ b/vfs/README.md @@ -28,8 +28,9 @@ but you can opt into them with the `sqlite3_flock` build tag. On Windows, this package uses `LockFileEx` and `UnlockFileEx`, like SQLite. -You can also opt into a cross platform locking implementation +You can also opt into a cross-platform locking implementation with the `sqlite3_dotlk` build tag. +The only requirement is an atomic `os.Mkdir`. Otherwise, file locking is not supported, and you must use [`nolock=1`](https://sqlite.org/uri.html#urinolock) @@ -55,7 +56,7 @@ will fail with the [`SQLITE_PROTOCOL`](https://sqlite.org/rescode.html#protocol) On Windows, this package may use `MapViewOfFile`, like SQLite. -You can also opt into a cross platform, in-process, memory sharing implementation +You can also opt into a cross-platform, in-process, memory sharing implementation with the `sqlite3_dotlk` build tag. Otherwise, [WAL support is limited](https://sqlite.org/wal.html#noshm),