delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/30/10:15:12

Date: Sun, 30 Aug 1998 17:14:18 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Andris Pavenis <pavenis AT lanet DOT lv>
cc: djgpp AT delorie DOT com, "Alexander S. Aganichev" <asa AT lan DOT eed DOT miee DOT ru>
Subject: Re: uclock ()
In-Reply-To: <199808271938.VAA21204@ieva06.lanet.lv>
Message-ID: <Pine.SUN.3.91.980830171349.20257U-100000@is>
MIME-Version: 1.0

On Thu, 27 Aug 1998, Andris Pavenis wrote:

> At first it is NECESSARY to disable interrupts when reading PIC 
> counter.

Beware: disabling interrupts under some DPMI servers is *extremely*
expensive, since some servers trap CLI/STI and the related DPMI call
and emulate them with many-many CPU cycles.  This is not something I'd
suggest to put in a function that needs to have minimum overhead
(otherwise, its accuracy is destroyed).

- Raw text -


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