diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-19 01:53:45 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-19 01:53:45 +0100 |
commit | e708e2af80f403ba868d5cd095bd87913fc88c56 (patch) | |
tree | 8185944a8e3c145c0961c95f2cae8c4f23145ab5 /pthread/pt-internal.h | |
parent | ddf59c36d90606ab0bfcdea99e1b01e98274eeb0 (diff) |
Remove ENABLE_TLS define
* Makefile (CPPFLAGS): Remove -DENABLE_TLS.
* pthread/pt-alloc.c: Remove ENABLE_TLS condition.
* pthread/pt-create.c: Likewise.
* pthread/pt-internal.h: Likewise.
Diffstat (limited to 'pthread/pt-internal.h')
-rw-r--r-- | pthread/pt-internal.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pthread/pt-internal.h b/pthread/pt-internal.h index 24111ad..1f17f25 100644 --- a/pthread/pt-internal.h +++ b/pthread/pt-internal.h @@ -59,7 +59,6 @@ enum pthread_state #endif #if !(IS_IN (libpthread)) -#ifdef ENABLE_TLS /* Type of the TCB. */ typedef struct { @@ -67,7 +66,6 @@ typedef struct void *dtv; /* Vector of pointers to TLS data. */ thread_t self; /* This thread's control port. */ } tcbhead_t; -#endif /* ENABLE_TLS */ #endif /* ! IS_IN (libpthread) */ /* This structure describes a POSIX thread. */ @@ -117,9 +115,7 @@ struct __pthread PTHREAD_SYSDEP_MEMBERS -#ifdef ENABLE_TLS tcbhead_t *tcb; -#endif /* ENABLE_TLS */ /* Queue links. Since PREVP is used to determine if a thread has been awaken, it must be protected by the queue lock. */ |