Date: Sun, 30 Aug 1998 17:14:18 +0300 (IDT) From: Eli Zaretskii To: Andris Pavenis cc: djgpp AT delorie DOT com, "Alexander S. Aganichev" Subject: Re: uclock () In-Reply-To: <199808271938.VAA21204@ieva06.lanet.lv> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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).