home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4680 < prev    next >
Encoding:
Text File  |  1992-09-02  |  678 b   |  19 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!pacbell.com!well!shiva
  3. From: shiva@well.sf.ca.us (Kenneth Porter)
  4. Subject: Finding a thread's hab
  5. Message-ID: <BtyvzI.HMo@well.sf.ca.us>
  6. Sender: news@well.sf.ca.us
  7. Organization: Whole Earth 'Lectronic Link
  8. Date: Wed, 2 Sep 1992 20:09:17 GMT
  9. Lines: 8
  10.  
  11. How can a thread determine whether it has an anchor block?  I'd
  12. like to code debugging functions that put up message boxes without
  13. having to pass an anchor block in as an argument.  The only way I
  14. can see to do this now is to maintain a static array of habs indexed
  15. by thread and updated whenever WinInitialize and WinTerminate are
  16. called.
  17.  
  18. Ken
  19.