delorie.com/archives/browse.cgi | search |
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 <dj AT delorie DOT com> |
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 |
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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |