davidxu 2006-04-04 03:26:06 UTC
FreeBSD src repository
Simplify _get_curthread() and _tcb_ctor because libc and rtld now
already allocate thread pointer space in tls block for initial thread.
Only i386 and amd64 have been done, others still have to be tested.
Revision Changes Path
1.2 +2 -4 src/lib/libthr/arch/amd64/amd64/pthread_md.c
1.2 +1 -3 src/lib/libthr/arch/amd64/include/pthread_md.h
1.7 +2 -5 src/lib/libthr/arch/i386/i386/pthread_md.c
1.6 +1 -3 src/lib/libthr/arch/i386/include/pthread_md.h