Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition in kqueue event system implementation (#2193)
This fixes a race condition in the kqueue back-end. Previously, it was possible for an unsubscribed (i.e. ASIO_DISPOSABLE) to be sent as an event in between being disposed and being sent as an ASIO_DISPOSABLE event. This could cause an event that had been unsubscribed to receive a read or a write event immediately before a dispose event.
- Loading branch information
1 parent
b77e697
commit 5f29a0f
Showing
1 changed file
with
24 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters