unix pipe multiple writers

If there are multiple threads writing fixed length data (say 4 byte address) to a single pipe and there is a single reader of that pipe, is it guaranteed that the reader will get bytes in order? In other words, is write() to a pipe atomic?

7
задан Manish 20 January 2011 в 04:00
поделиться