From e24c161e9d16483a1d97402557f7756e26afb6cf Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 13 Jun 2007 00:00:00 +0200 Subject: TLS support for libthreads. * libthreads/cprocs.c (cproc_create): Call into glibc to allocate static TLS block. * libthreads/cthread_internals.h (tcbhead_t): New structure; as in glibc. (cproc_setup): Take TCB parameter. (_dl_allocate_tls): Declare; from glibc. * libthreads/alpha/thread.c (cproc_setup): Compile-time warning for missing TLS support. * libthreads/i386/thread.c (cproc_setup): Imlement TLS support. --- libthreads/ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'libthreads/ChangeLog') diff --git a/libthreads/ChangeLog b/libthreads/ChangeLog index eff1ade9..0155c06e 100644 --- a/libthreads/ChangeLog +++ b/libthreads/ChangeLog @@ -1,3 +1,17 @@ +2007-06-13 Samuel Thibault + + TLS support for libthreads. + + * libthreads/cprocs.c (cproc_create): Call into glibc to allocate + static TLS block. + * libthreads/cthread_internals.h (tcbhead_t): New structure; as in + glibc. + (cproc_setup): Take TCB parameter. + (_dl_allocate_tls): Declare; from glibc. + * libthreads/alpha/thread.c (cproc_setup): Compile-time warning for + missing TLS support. + * libthreads/i386/thread.c (cproc_setup): Imlement TLS support. + 2002-08-26 Roland McGrath * cthreads.c (cthread_body) [HAVE_USELOCALE]: Call uselocale to -- cgit v1.2.3