X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker 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: References: 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 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.