Signal Handling Woes
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Tue Nov 11 18:58:57 EST 2003
W liście z wto, 11-11-2003, godz. 18:11, Wolfgang Thaller pisze:
> I'm really not sure what happens when two signal handlers try to write
> to the same pipe at the same time. Are multi-byte writes from separate
> threads atomic with respect to each other?
I think they are guaranteed to be atomic up to 4096 bytes at a time.
But I don't remember who does this guarantee (Linux or some standard).
__("< Marcin Kowalczyk
\__/ qrczak at knm.org.pl
More information about the Cvs-ghc