From: Tom Moran <tmoran@bix.com>
Subject: Re: returning a value from tasking??
Date: 1996/12/01
Date: 1996-12-01T00:00:00+00:00 [thread overview]
Message-ID: <32A20FF0.1409@bix.com> (raw)
In-Reply-To: 32A080A9.7BCA@access.hky.com
>get a character or return if none is input within 3 seconds
This is very much an OS dependent problem, and I don't know the OS
calls available to you. There ought to be one that accepts a timeout
and does just what you ask. If not, you may have to resort to getting
one OS thread to do a read, while another does a timeout, and whichever
finishes first kills the other. That is a substantially trickier, and
also implementation dependent, problem.
prev parent reply other threads:[~1996-12-01 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-11-30 0:00 returning a value from tasking?? Randy Kosarik
1996-12-01 0:00 ` Robert Dewar
1996-12-01 0:00 ` Tom Moran [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox