Emmanuel Dreyfus <m...@netbsd.org> wrote: > In an ideal world, we would set _UC_TLSBASE by default (as it is today, > except on powerpc), and we would automatically ignore _UC_TLSBASE when > l->l_proc->p_nlwps > 1, since we cannot think of a sane usage for that.
Or perhaps do that stuff in swapcontext libc stub? That way someone that wants to reimplement another thread library on top of our kernel thread is free to override _UC_TLSBASE being ignored. But this is another problem beyond the current discussion, which is just to support _UC_TLSBASE for ports that miss it. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org