TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Mark Birenbaum
date: 1996-12-23 23:41:04
subject: waiting for keyboard input

I'm tryin to write a multi-threaded program, and one of the threads is
to wait for keyboard input, and notify the main thread that there input
coming in.  Unforetunately, I have no idea how to get the thread to wait
until there is keyboard input, when I attempt to use _getch(), it gives me
gives me an exception.
     Anyways, seeing as this is extrodinarily basic, I figured I'd be able
to get an answer quickly.  (BTW, this is a text-mode app, not PM)

--- Nereid - The native OS/2 message editor.

--- Maximus/2 3.01
* Origin: The Foundation - (403) 436-1345 / 437-1617 - (1:342/620)
SEEN-BY: 270/101 711/401 409 410 413 430 808 809 934 955 712/407 515 624 628
SEEN-BY: 713/317
@PATH: 342/620 5011 61 3615/50 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.