This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Getting the pipe guard


On 5/21/06, Christopher Faylor wrote:
The above code seems to be needed but I can't see how it could affect the
non-blocking case since "howlong" is only set in the blocking case.

It affects the nonblocking case because it stops a blocking reader from sneaking in between a nonblocking reader returning from ready_for_read() and when the nonblocking reader actually does the read.

L


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]