From 9ae0909b35bc7ed04897536cbf224f7e134b5184 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 13 Dec 2002 10:59:14 +0000 Subject: Update. 2002-12-13 Ulrich Drepper * misc/syslog.c (log_cleanup): Don't use parameter in __libc_lock_unlock call, use syslog_lock directly. Adjust callers to pass NULL instead of a pointer to syslog_lock. --- nptl/sysdeps/i386/tls.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'nptl/sysdeps/i386') diff --git a/nptl/sysdeps/i386/tls.h b/nptl/sysdeps/i386/tls.h index a4bbf3445a..9f4b89f7aa 100644 --- a/nptl/sysdeps/i386/tls.h +++ b/nptl/sysdeps/i386/tls.h @@ -24,6 +24,7 @@ # include # include # include +# include /* Type for the dtv. */ @@ -40,6 +41,8 @@ typedef struct thread descriptor used by libpthread. */ dtv_t *dtv; void *self; /* Pointer to the thread descriptor. */ + list_t list; + int multiple_threads; } tcbhead_t; #endif @@ -52,10 +55,13 @@ typedef struct /* Signal that TLS support is available. */ #define USE_TLS 1 -/* Alignment requirement for the stack. For IA-32 this is govern by +/* Alignment requirement for the stack. For IA-32 this is governed by the SSE memory functions. */ #define STACK_ALIGN 16 +/* Offset of the MULTIPLE_THREADS element in tcbhead_t. */ +#define MULTIPLE_THREADS_OFFSET 20 + #ifndef __ASSEMBLER__ /* Get system call information. */ -- cgit 1.4.1