From: "florianx" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: Bug in Delay Date: Thu, 29 Mar 2001 15:39:28 +0200 Organization: Club Dr-DOS - www.drdos.org X-Newsreader: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Lines: 29 Message-ID: <3ac33af3$0$16654@SSP1NO25.highway.telekom.at> NNTP-Posting-Host: 212.183.88.42 X-Trace: newsreader01.vienna.highway.telekom.at 985873139 16654 212.183.88.42 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi! BTW: I have a problem with delay(); I must use a delay() in my program, but during this delay() the TSRs seems to be not active. Why? Bye, Florian Eli Zaretskii schrieb in Nachricht ... > >On Thu, 29 Mar 2001, Maurice Lombardi wrote: > >> > What I'm wondering is, if DJGPP's libc contains a delay() function >> > which does handle short delays well (and even seems to use >> > microseconds internally AFAICS), why doesn't its usleep() function >> > do the same thing? > >If both functions used the same service, you couldn't have chosen one or >the other, depending on your needs. Having both is better than only one. > >Why is it a problem that they use different methods? The docs clearly >says what service is used, so the information is available, isn't it?