delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/03/20:29:17

Date: Fri, 3 May 1996 20:26:45 -0400
From: dj (DJ Delorie)
Message-Id: <199605040026.UAA28343@delorie.com>
To: bram AT gig DOT nl
CC: djgpp AT delorie DOT com
In-reply-to: <4m9v6f$mnq@news.euro.net> (bram@gig.nl)
Subject: Re: [Q] non-blocking reads?

> So, which mega-coder is going to help me out here?

PCs do have one thing that unix doesn't.  There's a BIOS hook that you
can hook (probably a DOS hook also) that will get called with one
value when the system becomes idle waiting for I/O, and later gets
called with another value when the data is ready.  Basically, on the
first call you start doing stuff, and the second sets a flag that the
first notices and thus returns to the original task.

Not likely to be easy to use under DJGPP, but there it is.

- Raw text -


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