Skip to content

Commit

Permalink
Implement very simple advisory lock mechanism
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vlovich committed May 31, 2024
1 parent c373d35 commit c211710
Show file tree
Hide file tree
Showing 3 changed files with 676 additions and 4 deletions.
Loading

0 comments on commit c211710

Please sign in to comment.