On Monday 02 March 2009 03:08:23 Michael Schnell wrote:
> > atomic wrt what ?  i assumed you were talking inter-threads.  the atomic
> > you refer to there is inter-process, not inter-threads.
>
> Should writing into a pipe not be "atomic" with threads, too, if each
> thread did it's own open() ?

presumably you mean a named pipe and each thread called open() on it.  i dont 
know what POSIX states about that, but it sounds like depending on a lot of 
murky details to simply avoid doing it right: using pthread synchronization 
primitives.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to