Is a successful call to write(2) atomic?

Kurt Hackenberg kh at panix.com
Wed Jun 16 00:19:48 UTC 2021


On 2021/06/15 19:55, Ronald F. Guilmette wrote:

>> But it works by just changing the messaging mechanism a little: Have
>> many pipes, one for each sender, all sending to the single write
>> process, which uses the system call select() to wait for activity on any
>> of them.
> 
> You're correct!  That sounds like a nice solution.

On reread, I see that Paul suggested that originally, many pipes, and 
that's what I was thinking. Paul's writing may not have been perfectly 
clear.

Let us know whether it works.


More information about the freebsd-questions mailing list