Article View: comp.os.os2.programmer
Article #1344Finding a thread's hab
From: Kenneth Porter
Date: Wed, 02 Sep 1992 20:09
Date: Wed, 02 Sep 1992 20:09
8 lines
696 bytes
696 bytes
How can a thread determine whether it has an anchor block? I'd like to code debugging functions that put up message boxes without having to pass an anchor block in as an argument. The only way I can see to do this now is to maintain a static array of habs indexed by thread and updated whenever WinInitialize and WinTerminate are called. Ken
Technical Details
Message-ID:
<BtyvzI.HMo@well.sf.ca.us>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!pacbell.com!well!shivaShow Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!pacbell.com!well!shiva From: shiva@well.sf.ca.us (Kenneth Porter) Subject: Finding a thread's hab Message-ID: <BtyvzI.HMo@well.sf.ca.us> Sender: news@well.sf.ca.us Organization: Whole Earth 'Lectronic Link Date: Wed, 2 Sep 1992 20:09:17 GMT Lines: 8