-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go: simplify the Write timeout handling
Previously we had a complicated set of channels and a condition variable, and the condition variable Wait() was in a goroutine. Instead the Wait() is now in the main goroutine and an optional timeout is in an optional goroutine. Signed-off-by: David Scott <dave@recoil.org>
- Loading branch information
Showing
1 changed file
with
19 additions
and
19 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