diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-06-17 08:58:31 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-06-17 08:58:31 +0000 |
commit | bbde852717f9db0b39190ab5774204522569239b (patch) | |
tree | fed5fa0d3f6d466fab513f87ee3338d5149519d4 /nptl/sysdeps/x86_64 | |
parent | 2667645020a4322a2730e340302748f1b0c1a1ce (diff) | |
download | glibc-bbde852717f9db0b39190ab5774204522569239b.zip glibc-bbde852717f9db0b39190ab5774204522569239b.tar.gz glibc-bbde852717f9db0b39190ab5774204522569239b.tar.bz2 |
Update.
2003-06-17 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/sleep.c: Use CANCELLATION_P if defined before
returning because seconds==0.
Diffstat (limited to 'nptl/sysdeps/x86_64')
-rw-r--r-- | nptl/sysdeps/x86_64/tcb-offsets.sym | 1 | ||||
-rw-r--r-- | nptl/sysdeps/x86_64/tls.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/nptl/sysdeps/x86_64/tcb-offsets.sym b/nptl/sysdeps/x86_64/tcb-offsets.sym index dc6e5c4..f91dd39 100644 --- a/nptl/sysdeps/x86_64/tcb-offsets.sym +++ b/nptl/sysdeps/x86_64/tcb-offsets.sym @@ -8,3 +8,4 @@ CLEANUP_JMP_BUF offsetof (struct pthread, cleanup_jmp_buf) CLEANUP offsetof (struct pthread, cleanup) CLEANUP_PREV offsetof (struct _pthread_cleanup_buffer, __prev) MUTEX_FUTEX offsetof (pthread_mutex_t, __data.__lock) +MULTIPLE_THREADS_OFFSET offsetof (tcbhead_t, multiple_threads) diff --git a/nptl/sysdeps/x86_64/tls.h b/nptl/sysdeps/x86_64/tls.h index 074eb64..973b242 100644 --- a/nptl/sysdeps/x86_64/tls.h +++ b/nptl/sysdeps/x86_64/tls.h @@ -41,7 +41,9 @@ typedef struct thread descriptor used by libpthread. */ dtv_t *dtv; void *self; /* Pointer to the thread descriptor. */ + int multiple_threads; } tcbhead_t; + #else /* __ASSEMBLER__ */ # include <tcb-offsets.h> #endif |