X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Thu, 20 Dec 2001 17:20:16 -0500 Message-Id: <200112202220.fBKMKG622869@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <98cd06c8.0112201414.492036f1@posting.google.com> (tupdegrove AT agere DOT com) Subject: Re: Alternative approach for uclock References: <98cd06c8 DOT 0112201414 DOT 492036f1 AT posting DOT google DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk If you are using it for short delays, subtract the two values and compare the difference to a constant. Then it won't matter if uclock() wraps.