TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Arne de Bruijn
date: 1996-04-08 20:28:00
subject: Keyboard thread

Hello All!

To abort a communicationsroutine (ZModem), working with DosWaitMuxWaitSem,
I want to write a thread that sends a semaphore when the user presses
. I can get it working with a thread looping
KbdCharIn/DosDevIoCtl with KBD$ handle, but I can't stop it other than
killing the thread, and that sometimes causes OS/2 (warp, no fixpacks) to
lock up. It won't return when I close the handle :-(

Has anybody a solution for this problem?

Greetings,
 Arne 
--- FMail/386 1.0g
* Origin: (2:281/705.8)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 281/705 283/512 280/801 270/101 712/515 711/808 809 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™.