1. I find it very useful to implement a simple stack class that uses RAII to manage the NDC stack. In fact, I find it odd that log4cxx doesn't come with one built-in..2. Using a stack such as this it's really not a problem to pass a copy to another thread.
On Tue, Jun 23, 2009 at 1:32 PM, deepak singh <deepak.i...@gmail.com> wrote: > Hi, > Is there any way through which I can inherit the NDC stack to the child > thread? > I have a parent thread running and create a child thread, I want the NDC > stack of the parentthread > should also be applied to the child thread. > Please let me know if we have anyway to do that? > Thnaks > Deepak >