www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/29/08:46:46

From: "florianx" <florianx AT drdos DOT org>
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010329120944 DOT 3269d AT is>
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?


- Raw text -


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