-
Notifications
You must be signed in to change notification settings - Fork 603
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Passes all but one select spec which is related to thread sleeping
Fixed +timeout+ handling so that a nil timeout is respected. Prior to this we were allocating timeval structs every time and it turns out that an empty struct and a nil value are not equivalent in behavior. Took the opportunity to refactor and DRY up some code that validated IO.select arguments.
- Loading branch information
1 parent
acd40bd
commit 2b90e73
Showing
1 changed file
with
30 additions
and
55 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