🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Killing threads

#3195
From: Bill Wohler
Date: Tue, 11 Jun 1991 08:37
17 lines
1079 bytes
  to suspend and resume threads, see, oddly enough, DosSuspendThread and
  DosResumeThread.

feustel@netcom.COM (David Feustel) writes:
>Absolutely not! No! No! No! Killing threads is against OS/2 rules!

  not having a way to do it and being against the rules are two
  different things.  we hack it by having all of our threads check a
  global variable often.  when this variable is set, they exit.

  osf1 (not os/2) woke up and will provide an api call to kill threads.
-- 
						--bw
-----
Bill Wohler <wohler@sap-ag.de> <sapwdf!wohler>
Heidelberg Red Barons Ultimate Frisbee Team
Technical Details
Message-ID: <2864@sapwdf.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!ox.com!math.fu-berlin.de!unido!sapwdf!wohler
References: <1991Jun8.234338.8440@fwi.uva.nl> <1991Jun9.022029.22896@netcom.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!ox.com!math.fu-berlin.de!unido!sapwdf!wohler
From: wohler@sapwdf.UUCP (Bill Wohler)
Newsgroups: comp.os.os2.programmer
Subject: Re: Killing threads
Message-ID: <2864@sapwdf.UUCP>
Date: 11 Jun 91 08:37:56 GMT
References: <1991Jun8.234338.8440@fwi.uva.nl> <1991Jun9.022029.22896@netcom.COM>
Reply-To: Bill Wohler <wohler@sap-ag.de>
Organization: SAP AG, Walldorf, Germany
Lines: 17