Subject: Re: lwp_emuldata
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 01/19/2003 10:52:54
On Sun, Jan 19, 2003 at 07:51:08PM +0100, Emmanuel Dreyfus wrote:

 > The thread id, which is a pointer to a user space structure maintained
 > by userlevel code. And the userlevel code reads and writes it a lot,
 > it's amazing.

Why not use the "l_private" pointer for this?  That's what SVR4 uses
it for (see the new native _lwp_getprivate()/_lwp_setprivate() system
calls).

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>