Hi! ----
Is there a way that multiple proceses can write to the same pipe fd but keep their writes "atomic" (regardless of the size, e.g. the writes may be 1 byte or 300GB), e.g. that the data (or better "record") being written appears in one piece ? For example: process 1 writes "aaaaaaaa", process 2 writes "bbbbbbb" and process 3 writes "cccccccccccccc" to a single pipe. The consumer reading from the pipe should get either: -- snip -- "aaaaaaaabbbbbbbcccccccccccccc" "aaaaaaaaccccccccccccccbbbbbbb" "bbbbbbbccccccccccccccaaaaaaaa" "bbbbbbbaaaaaaaacccccccccccccc" "ccccccccccccccaaaaaaaabbbbbbb" "ccccccccccccccbbbbbbbaaaaaaaa" etc. -- snip -- ... but never something like... -- snip -- "aaaabbbaabbbbccccccccaacccccc" "cbccccbccccbcccccbbbaaaaabaaa" -- snip -- ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
