blob: 1000ad0a982bcebe1a7c2d6213ea3233b7090ea5 (
plain)
1
2
3
4
5
6
7
8
9
|
#include <sysdep.h>
#include <tls.h>
--
#ifdef __UCLIBC_HAS_TLS__
MULTIPLE_THREADS_OFFSET offsetof (struct _pthread_descr_struct, p_multiple_threads) - sizeof (struct _pthread_descr_struct)
#else
MULTIPLE_THREADS_OFFSET offsetof (tcbhead_t, multiple_threads)
#endif
|