-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avoid blocking the notify thread, fixup event on win32
The prior io thread had a couple of issues; consuming from the inotify fd is actually a blocking operation, so we need to add a check to our loop condition. Fixup how we interpret the result of a wait on a win32 event, so that we don't falsely believe that is has been satisfied in the timeout case (doh!)
- Loading branch information
Showing
2 changed files
with
6 additions
and
1 deletion.
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
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