delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/17/11:17:56

From: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
Newsgroups: comp.os.msdos.djgpp
Subject: Watchdog timers
Date: Thu, 17 Apr 1997 10:31:00 +0100
Organization: Lehrstuhl fuer Stroemungsmechanik
Lines: 26
Message-ID: <3355EDD4.FF6@LSTM.Ruhr-UNI-Bochum.De>
NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
I'm trying to port a library from Linux to DOS
and ran into the problem of implementing
a watchdog timer. I first thought of
alarm(), but it has only a resolution 
of one second. I think DJGPP hooks the timer
interrupt  and reprograms the timer. Is there
an easy way to benefit from that?

Or has anybody implemented something like that?

TIA
-- 
Ciao
Tom

*************************************************************
* Thomas Demmer                                             *
* Lehrstuhl fuer Stroemungsmechanik                         *
* Ruhr-Uni-Bochum                                           *
* Universitaetsstr. 150                                     *
* D-44780  Bochum                                           *
* Tel: +49 234 700 6434                                     *
* Fax: +49 234 709 4162                                     *
* http://www.lstm.ruhr-uni-bochum.de/~demmer                *
*************************************************************

- Raw text -


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