Context logging uses a stack to store the current context. This stack is shared by different threads.
It would be more apropriate to create a thread-local storage (not shared) stack, giving each thread it's own stack.
Log in to post a comment.