whatwg / fs

File System Standard
https://fs.spec.whatwg.org/
Other
224 stars 19 forks source link

Define file locking in inactive pages #154

Open nathanmemmott opened 8 months ago

nathanmemmott commented 8 months ago

Instead of immediately failing, "take a lock" will attempt to evict the pages that hold a lock if they are all inactive. This prevents an inactive page from holding onto locks needed by active pages.

Fixes issue #17

(See WHATWG Working Mode: Changes for more details.)


Preview | Diff