From: "Pierre-André Mudry" Newsgroups: comp.os.msdos.djgpp Subject: usleep function problem.... Date: Sun, 1 Aug 1999 01:51:44 +0200 Organization: News Server for Urbanet SA - Lausanne - Switzerland Lines: 9 Message-ID: <7o0261$3ci$1@news.interpoint.ch> NNTP-Posting-Host: 195.202.222.132 X-Server-Date: 31 Jul 1999 23:51:29 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com the function usleep() doesn't seem to work on the two computers I have. It produces stranges results (e.g. when I convert delay(x) in usleep(x * 1000) the result should be the same but they aren't). When the argument of usleep is bigger than 10000 the delays are always the same and when under 10000 there is no delay at all... What should I do ? I really need a better resolution than 1 ms....