Article View: comp.sys.ibm.pc
Article #26021Aborting a blocked DosRead under OS/2
From: Alan Bishop
Date: Thu, 31 Mar 1988 07:19
Date: Thu, 31 Mar 1988 07:19
14 lines
924 bytes
924 bytes
Does anyone know of a way to interrupt a read request in a thread under OS/2? I am working on porting C-Kermit to OS/2. I have a thread each for the modem line. I would like to be able to terminate the threads in some way when it is blocked on a device read. However, DosKillProcess does not seem to work on threads. A DosReadAsync will not stop just because the calling thread exits. So, I can find no way to abort the request without resorting to another process. Anyone have any ideas? Send respons via email and I'll send a copy to anyone who's interested. alan
Technical Details
Message-ID:
<4846@ecsvax.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!ncsuvx!mcnc!ecsvax!agbShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!ncsuvx!mcnc!ecsvax!agb From: agb@ecsvax.UUCP (Alan Bishop) Newsgroups: comp.sys.ibm.pc Subject: Aborting a blocked DosRead under OS/2 Message-ID: <4846@ecsvax.UUCP> Date: 31 Mar 88 07:19:20 GMT Reply-To: agb@ecsvax.UUCP (Alan Bishop) Organization: NCSU (Student) Lines: 14