Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix occasional close() system call hang on MacOS.
Repeated re-registration of kqueue event filters seems to behave as though there is some kind of "leak" on MacOS, culminating in a suspended close() system call and an unkillable process. To avoid this, we will register a descriptor's kqueue event filters once only i.e. when the descriptor is first created.
- Loading branch information
1 parent
92a53bd
commit 660e9fe
Showing
1 changed file
with
56 additions
and
118 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