Hacker News new | ask | show | jobs
by messe 655 days ago
> and for pipes, if both ends support using the ringbuffer they'll map the same ringbuffer

Is there planned to be a standardized way to signal to the other end of the pipe that ring buffers are supported, so this could be handled transparently in libc? If not, I don't really see what advantage it gets you compared to shared memory + a futex for synchronization—for pipes that is.

1 comments

Presumably the same interface still works if the other side is using read/write.
correct