/netbsd-src/tests/lib/libc/tls/dso/ |
H A D | h_tls_dlopen.c | 42 #define __thread macro 45 extern __thread int var1; 46 extern __thread int var2; 47 extern __thread int *var3; 48 __thread int var5 = 1; 49 static __thread pid_t (*local_var)(void) = getpid;
|
/netbsd-src/tests/lib/libc/tls/ |
H A D | t_tls_dynamic.c | 44 #define __thread macro 57 extern __thread int var1; 58 extern __thread int var2; 59 extern __thread pid_t (*dso_var1)(void); 61 __thread int *var3 = &optind; 63 __thread int *var4 = &var4_helper;
|
H A D | t_tls_dlopen.c | 45 #define __thread macro 58 __thread int var1 = 1; 59 __thread int var2; 60 __thread int *var3 = &optind; 62 __thread int *var4 = &var4_helper;
|
H A D | t_tls_static_helper.c | 40 #define __thread macro 43 extern __thread int var1; 44 extern __thread int var2;
|
H A D | t_tls_static.c | 43 #define __thread macro 56 __thread int var1 = 1; 57 __thread int var2;
|
/netbsd-src/tests/lib/libc/tls_dso/ |
H A D | h_tls_dynamic.c | 41 #define __thread macro 44 __thread int var1 = 1; 45 __thread int var2; 47 __thread pid_t (*dso_var1)(void) = getpid;
|
/netbsd-src/external/gpl3/gdb.old/dist/config/ |
H A D | tls.m4 | 7 AC_RUN_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 14 [AC_RUN_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 21 dnl with __thread linkage has a different address in different threads. 41 dnl Test for an old glibc bug that violated the __thread property. 49 __thread int a; 74 AC_LINK_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 87 [AC_LINK_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int f() { return a = b; }])], 105 AC_COMPILE_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 118 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
|
/netbsd-src/external/gpl3/binutils/dist/config/ |
H A D | tls.m4 | 7 AC_RUN_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 14 [AC_RUN_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 21 dnl with __thread linkage has a different address in different threads. 41 dnl Test for an old glibc bug that violated the __thread property. 49 __thread int a; 74 AC_LINK_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 87 [AC_LINK_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int f() { return a = b; }])], 105 AC_COMPILE_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 118 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
|
/netbsd-src/external/gpl3/gcc.old/dist/config/ |
H A D | tls.m4 | 7 AC_RUN_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 14 [AC_RUN_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 21 dnl with __thread linkage has a different address in different threads. 41 dnl Test for an old glibc bug that violated the __thread property. 49 __thread int a; 74 AC_LINK_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 87 [AC_LINK_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int f() { return a = b; }])], 105 AC_COMPILE_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 118 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
|
/netbsd-src/external/gpl3/gdb/dist/config/ |
H A D | tls.m4 | 7 AC_RUN_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 14 [AC_RUN_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 21 dnl with __thread linkage has a different address in different threads. 41 dnl Test for an old glibc bug that violated the __thread property. 49 __thread int a; 74 AC_LINK_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 87 [AC_LINK_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int f() { return a = b; }])], 105 AC_COMPILE_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 118 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
|
/netbsd-src/external/gpl3/gcc/dist/config/ |
H A D | tls.m4 | 7 AC_RUN_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 14 [AC_RUN_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 21 dnl with __thread linkage has a different address in different threads. 41 dnl Test for an old glibc bug that violated the __thread property. 49 __thread int a; 74 AC_LINK_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 87 [AC_LINK_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int f() { return a = b; }])], 105 AC_COMPILE_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 118 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
|
/netbsd-src/external/gpl3/binutils.old/dist/config/ |
H A D | tls.m4 | 7 AC_RUN_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 14 [AC_RUN_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 21 dnl with __thread linkage has a different address in different threads. 41 dnl Test for an old glibc bug that violated the __thread property. 49 __thread int a; 74 AC_LINK_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 87 [AC_LINK_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int f() { return a = b; }])], 105 AC_COMPILE_IFELSE([AC_LANG_SOURCE([__thread int a; int b; int main() { return a = b; }])], 118 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
|
/netbsd-src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/ |
H A D | tls.c | 20 __thread int a_thread_local; 24 static __thread int another_thread_local; 27 __thread int K::another_thread_local; 30 extern __thread int file2_thread_local;
|
H A D | tls-nodebug.c | 5 __thread int thread_local = 42;
|
/netbsd-src/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ |
H A D | tls.c | 20 __thread int a_thread_local; 24 static __thread int another_thread_local; 27 __thread int K::another_thread_local; 30 extern __thread int file2_thread_local;
|
H A D | tls-nodebug.c | 5 __thread int thread_local = 42;
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/safestack/ |
H A D | safestack.cc | 90 "default"))) __thread void *__safestack_unsafe_stack_ptr = nullptr; 95 static __thread void *unsafe_stack_start = nullptr; 96 static __thread size_t unsafe_stack_size = 0; 97 static __thread size_t unsafe_stack_guard = 0;
|
/netbsd-src/tests/libexec/ld.elf_so/helper_dso1/ |
H A D | h_helper_dso1.c | 35 #define __thread macro 64 static __thread int tls_callback_var;
|
/netbsd-src/sys/rump/librump/rumpkern/ |
H A D | rump_curlwp___thread.h | 28 extern __thread struct lwp *curlwp_storage; 32 __thread struct lwp *curlwp_storage;
|
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/pthreads/include/isc/ |
H A D | thread.h | 34 extern __thread size_t isc_tid_v; 66 #define ISC_THREAD_LOCAL static __thread
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/ |
H A D | mutex.cc | 45 __thread void* __once_callable; 46 __thread void (*__once_call)();
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/ |
H A D | mutex.cc | 34 __thread void* __once_callable; 35 __thread void (*__once_call)();
|
/netbsd-src/sys/rump/ |
H A D | README.compileopts | 68 values: hypercall/__thread/register or <undefined> 76 __thread - use the __thread feature to fetch value via TLS
|
/netbsd-src/tests/libexec/ld.elf_so/helper_onlydef/ |
H A D | h_onlydef.c | 29 __thread int mysym = 0;
|
/netbsd-src/tests/libexec/ld.elf_so/helper_onlydef_static/ |
H A D | h_onlydef_static.c | 29 __thread int mysym __attribute__((tls_model("initial-exec"))) = 0;
|