info-cvs
[Top][All Lists]
Advanced

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

Re: My first stumper ...


From: Larry Jones
Subject: Re: My first stumper ...
Date: Thu, 18 Jan 2001 17:43:40 -0500 (EST)

Derek R. Price writes:
> 
> That happens on a lot of platforms (I think all platforms for CVS, but
> I couldn't tell you more) and there's no way around it.  It's simply that the
> granularity of time stamps is stored in seconds by the file and operating
> systems.

Not so -- CVS sleeps until the system time no longer matches the
timestamp of the most recent file.  As I said in another reply, this
avoids the problem on all systems where the system clock and the
filesystem have the same granularity; it only affects systems where the
filesystem has a coarser granularity than the system clock.  I haven't
come up with a good way to fix it yet.

> The CVS test suite uses the sleep command to block for 1 second between CVS
> operations when a changed time stamp is important.

It used to, they're mostly gone now.  The few remaing ones are for
things other than typical CVS operations, and many of them are longer
than 1 second.

-Larry Jones

It's not denial.  I'm just very selective about the reality I accept.
-- Calvin



reply via email to

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