[Top][All Lists]

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

Re: calling autoreconf and minimizing rebuilds

From: Paul Eggert
Subject: Re: calling autoreconf and minimizing rebuilds
Date: Tue, 05 Dec 2006 09:21:42 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Eric Blake <address@hidden> writes:

> Even Linux
> supports FAT, although I doubt anyone is foolhardy enough to develop on
> FAT when there are so many better filesystems to choose from.  But you
> need at least 'sleep 2' to guarantee distinct timestamps on FAT.

I don't think this is really a problem nowadays.  But if it is, let's
do it right: let's use a combination of 'touch' and 'ls -t' to
determine whether the file system supports 1-second time stamp
resolution.  If we do it right, we can reduce the sleep time to 1
microsecond on most modern sytems.

In the mean time, sleeping for 1 second should suffice.

The goal here is to avoid a tradition of tests that sleep.  Sleeping
slows things down.  (And it's harder to parallelize.  :-)

reply via email to

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