1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

Thread static

Discussion in 'Microsoft News' started by NewsBot, Apr 16, 2008.

  1. NewsBot

    NewsBot I Got News

    Joined:
    Feb 8, 2006
    Messages:
    1,813
    Operating System:
    Windows Vista Home Premium
    Does anyone know of a way to make a static variable static to the thread from which it's set AND any child threads of that thread? In other words I want the same thing that you get from the ThreadStaticAttribute, but the value of the variable should also be accessible from any thread that's spawned from the thread that set the value.




     

Share This Page