bug-cvs
[Top][All Lists]
Advanced

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

Re: Windows CVS 1.12.12.1 Latest + Patch - "version" Command Hangs


From: Derek Price
Subject: Re: Windows CVS 1.12.12.1 Latest + Patch - "version" Command Hangs
Date: Sun, 25 Sep 2005 11:04:15 -0400
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Conrad T. Pino wrote:

>I'm not so sure disk files are always ready.  They may use this approach
>because I can't find a way to find out if a disk file will block without
>actually launching an asynchronous read/write operation which raises the
>problem of what to do with the data when the operation suceeds!!!
>  
>

I think CVS would work fine if your select replacement always returned
true for disk files.  It might just be slightly inefficient.  The loop
in fd_buffer_input would hit the select and posibly get no data on the
subsequent read, then immediately try again.  The select simply saves
the effort of retrying until data is known to be available.

Regards,

Derek

-- 
Derek R. Price
CVS Solutions Architect
Ximbiot <http://ximbiot.com>
v: +1 717.579.6168
f: +1 717.234.3125
<mailto:address@hidden>






reply via email to

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