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.