Path: 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 Organization: SAP AG, Walldorf, Germany Lines: 17 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 Heidelberg Red Barons Ultimate Frisbee Team