Re: _lwp_setprivate and _lwp_makecontext

2010-07-30 Thread Joerg Sonnenberger
On Fri, Jul 30, 2010 at 02:28:47AM +, YAMAMOTO Takashi wrote: Hi all, I'm working on Thread Locale Storage support for NetBSD and I am facing an interesting issue with the libpthread integration. On i386 and AMD64, TLS support uses the segment register %gs or %fs to load the thread

_lwp_setprivate and _lwp_makecontext

2010-07-29 Thread Joerg Sonnenberger
Hi all, I'm working on Thread Locale Storage support for NetBSD and I am facing an interesting issue with the libpthread integration. On i386 and AMD64, TLS support uses the segment register %gs or %fs to load the thread pointer. The location used as segment base is thread specific and stored in

Re: _lwp_setprivate and _lwp_makecontext

2010-07-29 Thread YAMAMOTO Takashi
hi, Hi all, I'm working on Thread Locale Storage support for NetBSD and I am facing an interesting issue with the libpthread integration. On i386 and AMD64, TLS support uses the segment register %gs or %fs to load the thread pointer. The location used as segment base is thread specific and