🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2119

How to kill MouReadEventQue(...MOU_WAIT) thread?

#2119
From: Brent S Noorda
Date: Fri, 16 Oct 1992 17:16
13 lines
980 bytes
I have a REXX dll thread that is waiting for mouse events to occur.  But I
am unalbe to kill if no mouse events are happening because it is waiting
in a MouReadEventQue(...MOU_WAIT...) call.

Is there some way to force it out of the MouReadEventQueu()?  The only way
I'm getting out of it now is to use MOU_NOWAIT but I feel very silly
polling on mouse activity in this day and age.

Should I not be doing MouReadEventQueu() and use IOCTL instead?  This is
supposes
to be a simple port from a DOS program.

Thanks
Technical Details
Message-ID: <Bw85Ar.7yz@world.std.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!sol.ctr.columbia.edu!eff!world!bsn

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!sol.ctr.columbia.edu!eff!world!bsn
From: bsn@world.std.com (Brent S Noorda)
Subject: How to kill MouReadEventQue(...MOU_WAIT) thread?
Message-ID: <Bw85Ar.7yz@world.std.com>
Summary: How to kill MouReadEventQueu(...MOU_WAIT...) thread?
Keywords: killthread, MouReadEventQue
Organization: The World Public Access UNIX, Brookline, MA
Date: Fri, 16 Oct 1992 17:16:01 GMT
Lines: 14