What property on the System.Threading.Thread.CurrentThread object are
you referring to? Are you wanting a %threadHashCode pattern that does
this:

 System.Threading.Thread.CurrentThread.Name.GetHashCode()

You can certainly make a pattern that does that. What are you
suggesting we change/add?

--- Marc Lewandowski <[EMAIL PROTECTED]> wrote:

> From the .NET SDK:
>  
> GetHashCode
>
<ms-help://MS.MSDNQTR.2003OCT.1033/cpref/html/frlrfsystemobjectclassgethashc
> odetopic.htm>  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.
> 
> Note   An operating-system ThreadId has no fixed relationship to a
> managed
> thread, because an unmanaged host can control the relationship
> between
> managed and unmanaged threads. Specifically, a sophisticated host can
> use
> the CLR Hosting API to schedule many managed threads against the same
> operating system thread, or to move a managed thread between
> different
> operating system threads.
> 
> So, why does log4net use the OS thread id?  Is this behavior
> configurable?
>  
> -Marc
>  
>   _____  
> 
> Marc A. Lewandowski
> Director of IT
> TeleBill, Inc.
> 
>  
> 

Reply via email to