Re:Unix: When pipes get names
by agumonkey on Tuesday October 08, 2013 @09:39PM
(#6518979)
I wonder how much of go (et al.) channels abstractions could be done this way.
[ Parent
| on HN ]
In Go you can control the length of the channel queue, and chan create a zero-buffering channel which blocks the writer until a reader is available. Unfortunately mkfifo does not seem to allow this at all.
fifos by themselves aren't useful if you're trying to do multi-process signaling with them, as input from multiple programs is not separated or delimited in any way. fifodirs are a nice signalling mechanism built on top of fifos: