cvs commit: src/lib/libthr/arch/i386/i386 pthread_md.c
src/lib/libthr/arch/i386/include pthread_md.h
David Xu
davidxu at freebsd.org
Wed Apr 13 18:34:25 PDT 2005
Peter Wemm wrote:
>peter 2005-04-14 00:44:07 UTC
>
> FreeBSD src repository
>
> Modified files:
> lib/libthr/arch/i386/i386 pthread_md.c
> lib/libthr/arch/i386/include pthread_md.h
> Log:
> Adapt the libpthread patch for using i386_set_gsbase() to libthr.
>
> Revision Changes Path
> 1.2 +33 -14 src/lib/libthr/arch/i386/i386/pthread_md.c
> 1.2 +8 -2 src/lib/libthr/arch/i386/include/pthread_md.h
>
>
>
Good work! I don't care if libthr can run on old kernel because the new
libthr can not
run on RELENG-5 kernel. One thing I would like to do is creating thread
in atomic,
current, a thread is created with its TLS pointer is at uninitialized
state, so when first
userland function runs, it has to setup TLS in userland, this makes
diffculty to
to .mcount and rtld if they wants to access per-thread data.
David Xu
More information about the cvs-src
mailing list