delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/11/07/17:43:49

Date: Fri, 7 Nov 1997 17:42:37 -0500 (EST)
Message-Id: <199711072242.RAA12705@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: Demmer AT lstm DOT ruhr-uni-bochum DOT de
CC: djgpp-workers AT delorie DOT com
In-reply-to: <8495AA34FD9@brain1.lstm.ruhr-uni-bochum.de>
(DEMMER AT brain1 DOT lstm DOT ruhr-uni-bochum DOT de)
Subject: Re: usleep bug?

> Digging through the bug tracking system I found a bug complaining
> that usleep() doesn't work for small values. In the source I found 
> that it is based upon clock(), with a resolution of 50 ms. Is there 
> any deeper reason why not using uclock() for usleep()? The only one 
> coming to my mind is a wrap around at midnight or something like that.

I think usleep() is older than uclock(), that's all.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019