]> git.ipfire.org Git - thirdparty/sqlite.git/commit
The opfs-wl lock hang has been traced to starvation between the WebLock and the tight...
authorstephan <stephan@noemail.net>
Thu, 5 Mar 2026 06:30:57 +0000 (06:30 +0000)
committerstephan <stephan@noemail.net>
Thu, 5 Mar 2026 06:30:57 +0000 (06:30 +0000)
commitcef3ff74cd89cecc1ee88068f1f8cc8fbce9f51c
tree24c722abe54b6cd10d927b21504704ab88c06392
parent671a6f83f455991801efa25a030d375e23f7023f
The opfs-wl lock hang has been traced to starvation between the WebLock and the tight wait-on-VFS-calls Atomics.wait() loop. This can reportedly be resolved with another level of indirection in which the WebLock takes over the wait-on-VFS-calls part until it's unlocked, returning to the global loop when it's done. That exceeds this morning's ambitions but is next to try out.

FossilOrigin-Name: 113bd910e12fea17f9f4a0a3baf706f15627c08cfa6b47a960a83eee761ef4dd
ext/wasm/api/opfs-common-shared.c-pp.js
ext/wasm/api/sqlite3-opfs-async-proxy.c-pp.js
ext/wasm/api/sqlite3-vfs-opfs-wl.c-pp.js
manifest
manifest.uuid