diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2007-06-13 00:00:00 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2011-10-20 12:50:53 +0200 |
commit | e24c161e9d16483a1d97402557f7756e26afb6cf (patch) | |
tree | f261f3fbfc270d41067be44472b4af13f3adda71 /libthreads/alpha | |
parent | 2a7fb4a54c2ac9cb8396da117f0a05055330599c (diff) |
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.
Diffstat (limited to 'libthreads/alpha')
-rw-r--r-- | libthreads/alpha/thread.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libthreads/alpha/thread.c b/libthreads/alpha/thread.c index 2bf5ff64..db2cb0c8 100644 --- a/libthreads/alpha/thread.c +++ b/libthreads/alpha/thread.c @@ -65,10 +65,12 @@ extern bzero(); * so that it will invoke routine(child) * when it is resumed. */ +#warning TLS support not implemented void cproc_setup( register cproc_t child, thread_t thread, + tcbhead_t *tcb, void (*routine)(cproc_t)) { register integer_t *top; |