I posted this on the musl mailing list (after being redirected on the voidlinux reddit forum):

> Running this simple test using clock from sutils to produce a repeating one second interval input stream..
> mkfifo fifo
> clock -i 1 -sf "T> stream one" >fifo &
> clock -i 1 -sf "D> stream two" >fifo &
> cat fifo
> on void musl only the second fifo input stream is displayed.
> on void glibc, both input streams are displayed interleaved as expected.
> Are fifo buffers handled differently under musl?

The reply was:

No, aside from possible stdio buffering it's entirely a kernel matter.
I looked up the sutils source and see it's flushing after each output,
and tried it on an Alpine-based box here (with musl) and could not
reproduce what you're seeing. Both outputs are visible and roughly
interleaved (although their order sometimes swaps with scheduling, of
course).

--

So... is this a bug within void musl?

Regards,
Steven

--
You received this message because you are subscribed to the Google Groups "voidlinux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to voidlinux+unsubscribe@googlegroups.com.
To post to this group, send email to voidlinux@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/voidlinux/76d8f6be-6ddb-4bb6-81f8-3a29482317b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.