Commit 8434815
authored
Implement very simple advisory lock mechanism (#664)
Blocking versions can't be implemented because they would require
spawning a new thread to avoid jamming up the background thread used for
other syscalls (the jamming up can generate a deadlock which is what
testing found). The blocking version would require spawning a new thread
with a standalone executor but that's horibbly expensive AND runs into
#448.1 parent bf85f19 commit 8434815
3 files changed
Lines changed: 676 additions & 4 deletions
0 commit comments