info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible race in pserver leading to broken pipe error?


From: Derek Robert Price
Subject: Re: Possible race in pserver leading to broken pipe error?
Date: Wed, 11 Feb 2004 12:56:57 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Larry Jones wrote:

>Just to reinforce the concept one more time (at the risk of beating a
>dead horse), descriptors don't have buffers and thus don't need to be
>flushed; *streams* have buffers and need to be flushed; closing a stream
>also flushes it.  It's impolite at best to muck about with a stream's
>descriptor without at least asking its permission first.  And it's
>highly impolite to take a descriptor away (by closing it) from a stream
>that's still using it.


Okay, thanks.  I think I have it now, except for the bit about dup().

Derek

- --
                *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQFAKmzoLD1OTBfyMaQRAmV1AJ0R2CjqAtMiej0Nith5cB8XRcwU4gCfdR4o
CsNmHUOsJnHu3gWfsGG39Po=
=hHqZ
-----END PGP SIGNATURE-----






reply via email to

[Prev in Thread] Current Thread [Next in Thread]