|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to find the Parent ThreadIs there a way to find the Parent Thread that spawned a certain Thread?
For example: Thread a Spawns Thread b From inside Thread b's process, can I get to Thread a's TLS (Thread Local Storage)? I don't think so. you'd need to maintain a reference to the parent thread
since these really are separate execution streams. -- Show quoteHide quoteRegards, Alvin Bruney ------------------------------------------------------ Shameless author plug Excel Services for .NET is coming... OWC Black book on Amazon and www.lulu.com/owc Professional VSTO 2005 - Wrox/Wiley "Mark Howell" <Mark.How***@Microsoft.com> wrote in message news:OQGPpXRjHHA.1216@TK2MSFTNGP03.phx.gbl... > Is there a way to find the Parent Thread that spawned a certain Thread? > For example: > Thread a > Spawns Thread b > From inside Thread b's process, can I get to Thread a's TLS > (Thread Local Storage)? >
Other interesting topics
Locking Desktop and Threading Issue
Truly cross platform? Windows Workflow - What basic tutorials? What's going on here? case values in switch statement? Overriding "OnXXX" versus adding event handler convert an object to string and back (in a culture independent fashion) Getting 3.0 Facts Straight .Net Windows Service ...data access problem Are they the same day? checkboxlist query |
|||||||||||||||||||||||