-
-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
interp: drop muesli/cancelreader for os.File.SetReadDeadline
The docs for SetReadDeadline are very clear: SetReadDeadline sets the deadline for future Read calls and any currently-blocked Read call. Given that it works for any currently blocked Read call as well, we don't need all the extra machinery and code from cancelreader. Particularly now that Reader.stdin is always a file.
- Loading branch information
Showing
3 changed files
with
15 additions
and
36 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
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