Re: cvs commit: src/sys/sys tls.h src/lib/libc/gen tls.c src/lib
:I should add that I mean the following tcb layout:
:struct tls_tcb {
:#ifdef INDIRECT_THREAD_REGISTER
: struct tls_tcb *tcb_base;
:#endif
: void *dtv_base;
: void *tcb_pthread;
:}
:
:Joerg
I would not do that. I would just make tcb_base mandatory (which
is what it is now). There is no reason to make it optional and
every reason to make it mandatory. It means we automatically support
dynamic link libraries and binaries using either method.
-Matt
Matthew Dillon
<dillon@backplane.com>
討論串 (同標題文章)
完整討論串 (本文為第 9 之 14 篇):