From: Christopher Faylor Date: Thu, 19 Jan 2006 05:18:48 GMT Subject: Re: [PATCH] "sleep 1" sleeps too little on cygwin Message-ID: <20060119051848.GA8121@trixie.casa.cgf.cx> In-Reply-To: <7vvewi2typ.fsf@assigned-by-dhcp.cox.net> On Tue, Jan 17, 2006 at 05:41:34PM -0800, Junio C Hamano wrote: >Alex Riesen writes: >>Probably another one windows quirk, or just the moon phases, but I have >>to make damn sure it sleeps long enough. > >IIRC, DOS file timestamps have 2 seconds granularity, so sleeping for >one second might not be enough to begin with. Also I run my cygwin >test on sufficiently slow machine, so that may explain why I have not >notice the problem ;-). Cygwin really does sleep a second if you tell it to, but on FAT filesystems, you're right, the granularity something like 2 seconds. cgf