Doesn't it inherit from the parent thread so if you set the MDC before spawning any new threads it has those properties?

On 2010-05-12 08:57, Dale King wrote:
I just remembered that MDC is local to each thread, so you need to do this in each thread. In my case my code was a business logic DLL that was called by a 3rd party app which created all the threads, so I wrapped all my exposed entry points with MDC::put and MDC::remove.




--
Jacob Anawalt
Gecko Software, Inc.
janaw...@geckosoftware.com
435-752-8026

Reply via email to