From: "Tom Demmer" Organization: Lehrstuhl Stroemungsmechanik, RUB To: djgpp-workers AT delorie DOT com Date: Fri, 7 Nov 1997 16:53:11 GMT-1 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: usleep bug? Reply-to: Demmer AT lstm DOT ruhr-uni-bochum DOT de Message-ID: <8495AA34FD9@brain1.lstm.ruhr-uni-bochum.de> Precedence: bulk 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. Any comments? Ciao Tom ****************************************************************** * Thomas Demmer * Phone : +49 234 700 6434 * * Universitaetsstr. 150 * Fax : +49 234 709 4162 * * Lehrstuhl fuer Stroemungsmechanik * * * D-44780 Bochum * * ****************************************************************** * Email: demmer AT LStM DOT Ruhr-Uni-Bochum DOT De * * WWW: http://www.lstm.ruhr-uni-bochum.de/~demmer * ****************************************************************** Ward's Rule of Buying: No matter how long you shop for an item, after you've bought it, it will be on sale cheaper.