Commit Graph

2 Commits

Author SHA1 Message Date
Juan Batiz-Benet
0938471d1c ctxio: fix buffer of 1 so goroutine exits when io completes. 2014-12-24 05:50:05 -08:00
Juan Batiz-Benet
a4021eb433 ctxio -- io with a context.
This commit introduces a reader and writer that respect
contexts. Warning: careful how you use them. Returning
leaves a goroutine reading until the read finishes.
2014-12-24 02:10:56 -08:00