Skip to content
Highly concurrent drop-in replacement for bufio.Writer
Branch: master
Clone or download
Latest commit 363b999 Nov 17, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
concurrent Improve test coverage by removing dead code and adding trivial tests … Sep 21, 2017
.gitignore Ignore Eclipse .project file. Sep 19, 2017
LICENSE Create LICENSE Sep 20, 2017

concurrent-writer Build Status Go Report Card Coverage GoDoc

Highly concurrent drop-in replacement for bufio.Writer.

concurrent.Writer implements highly concurrent buffering for an io.Writer object. In particular, writes will not block while a Flush() call is in progress as long as enough buffer space is available.

Note however that writes will still block in a number of cases, e.g. when another write larger than the buffer size is in progress. Also, concurrent flushes (whether explicit or triggered by the buffer filling up) will block one another.

You can’t perform that action at this time.