]> git.ipfire.org Git - thirdparty/sqlite.git/commit
OPFS: if an op which needs a lock is called when no lock has been obtained, automatic...
authorstephan <stephan@noemail.net>
Thu, 10 Nov 2022 11:35:10 +0000 (11:35 +0000)
committerstephan <stephan@noemail.net>
Thu, 10 Nov 2022 11:35:10 +0000 (11:35 +0000)
commitaafa022f5b5371d83ee3478c17e0c7f2faf1ce62
treeee1cfed1ad1cd869c8d5561f4a92e3df68521456
parent838865c0bb3531a4105567dfc1f6623c6aa1cd5f
OPFS: if an op which needs a lock is called when no lock has been obtained, automatically lock it at the start of the op and unlock it at the end of that op. This is an attempt to alleviate the cross-tab contention described in [forum post 58a377083cd24a|forum:58a377083cd24a] but it increases speedtest1 run time by approximately 4x. Perhaps auto-lock can be combined with the older idle-time-based auto-unlock to unlock such locks (but not those from xLock()) to improve this?

FossilOrigin-Name: 46304ba057707c3b072b6e7bb8c4af774f653aa5814099f0866cd87b2b73abeb
ext/wasm/api/sqlite3-opfs-async-proxy.js
ext/wasm/module-symbols.html
manifest
manifest.uuid