delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/12/05/11:30:17

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: uclock with DOSEMU
Date: 5 Dec 2003 16:17:33 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 12
Message-ID: <bqqb2t$rfb$1@nets3.rz.RWTH-Aachen.DE>
References: <bqqabl$qdr$1 AT alageremail2 DOT agere DOT com>
NNTP-Posting-Host: ac3b07.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1070641053 28139 137.226.33.205 (5 Dec 2003 16:17:33 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 5 Dec 2003 16:17:33 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Tim Updegrove <tupdegrove AT removeme DOT agere DOT com> wrote:
> Anyone know if uclock() will function okay in the microsecond range with 
> DOSEMU?

I don't exactly know, but I'd be *very* surprised if it did.  Linux
won't let you do any timed delay shorter than its 100 Hz = 10 ms timer
tick in user-level code.  For anything shorter, you have to be in
kernel land or use a calibrated delay loop (--> bogomips).

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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