|
Because you may need to know the thread's OS id. And because while it may change threads under you, I'm
not aware of a host that actually does this. From: Marc Lewandowski
[mailto:[EMAIL PROTECTED] From
the .NET SDK: GetHashCode
provides identification for managed threads. For the lifetime of your thread,
it will not collide with the value from any other thread, regardless of the
application domain from which you obtain the value.
So,
why does log4net use the OS thread id? Is this behavior configurable? -Marc Marc A.
Lewandowski |
Title: Message
- Why ThreadId and not Hash Code? Marc Lewandowski
- RE: Why ThreadId and not Hash Code? Oren Eini
- Re: Why ThreadId and not Hash Code? Ron Grabowski
