tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [RFC][PATCH] _UC_TLSBASE for all ports



rJoerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:

> You are mixing up two unrelated items. The thread private area and the
> thread ID are not the same thing. Your "fix" only affects the former,
> not the latter.

Right, I was not sure what you were talking about. You mean struct lwp's
l_lid, right? If this is the case, then shall I understand you worry
about an application that plays with swapcontext() around pthreads,
retreive its kernel l_lid, and get confused because it changed? Or did I
miss something else?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index