You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Should we support inter-process file locking? #23697
This is something we are exploring with WordPress Playground for use with NODEFS (currently with the legacy FS).
I prototyped an async override for fcntl() to support F_GETLK and F_SETLK so multiple manually-created php-wasm workers could share a SQLite DB file without corruption.
Activity
[WasmFS] Ignore F_SETLK/F_SETLKW
[WasmFS] Ignore fcntl F_SETLK (inter-process file locking) (#23694)
brandonpayton commentedon Apr 22, 2025
This is something we are exploring with WordPress Playground for use with NODEFS (currently with the legacy FS).
I prototyped an async override for fcntl() to support F_GETLK and F_SETLK so multiple manually-created php-wasm workers could share a SQLite DB file without corruption.
adamziel commentedon Jul 5, 2025
To close the loop, @brandonpayton implemented
fcntl()for WordPress Playground's PHP.wasm in WordPress/wordpress-playground#2231