Re: fsync() on unix domain sockets?

Dan Kegel (dank@kegel.com)
Tue, 08 Apr 2003 18:27:22 -0700


Richard B. Johnson wrote:
> You will never find
> any unflushed buffers in Unix Domain sockets because you need
> an active reader before the write will succeed. The writer will
> block until the reader has all the data.

OK, then, at least I had a nice read through the af_unix.c code.
I guess I'll write a little test program to verify the problem
I thought I had doesn't exist.

Thanks,
Dan

-- 
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/