Skip to content

Commit

Permalink
Remove locking
Browse files Browse the repository at this point in the history
This was the wrong direction: coming commits want to call
callbacks (which themselves can and do re-enter the API)
which would lead to deadlock.

Let's just accept that the API we're implementing is
not thread safe.

I also looked at deferring callbacks to outside the lock scope,
but that removes the ability for callbacks to have side effects
during the handshake.
  • Loading branch information
ctz committed Apr 23, 2024
1 parent a448a2f commit 88f97d7
Show file tree
Hide file tree
Showing 4 changed files with 242 additions and 464 deletions.
Loading

0 comments on commit 88f97d7

Please sign in to comment.