delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/12/01:38:38

From: "Edmund Horner" <edmund1 AT geocities DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Timers
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Organization: Paradise Net Ltd. Customer
Message-ID: <963379268.280263@shelley.paradise.net.nz>
Cache-Post-Path: shelley.paradise.net.nz!unknown AT 203-96-158-137 DOT tnt4 DOT paradise DOT net DOT nz
X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/)
Date: Wed, 12 Jul 2000 17:22:28 +1200
NNTP-Posting-Host: 203.96.152.26
X-Complaints-To: newsadmin AT xtra DOT co DOT nz
X-Trace: news.xtra.co.nz 963379286 203.96.152.26 (Wed, 12 Jul 2000 17:21:26 NZST)
NNTP-Posting-Date: Wed, 12 Jul 2000 17:21:26 NZST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Requisite greetings to all,

I'd like to be able to write a program that quits after a certain duration
(say 5 minutes), and I expect this means using interrupts.

Can anyway here give me a couple of tiny snippets of code as to how this can
be achieved?

Thanks,
Edmund.


- Raw text -


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