Home
last modified time | relevance | path

Searched refs:__thread (Results 1 – 25 of 167) sorted by relevance

1234567

/netbsd-src/tests/lib/libc/tls/dso/
H A Dh_tls_dlopen.c42 #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 Dt_tls_dynamic.c44 #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 Dt_tls_dlopen.c45 #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 Dt_tls_static_helper.c40 #define __thread macro
43 extern __thread int var1;
44 extern __thread int var2;
H A Dt_tls_static.c43 #define __thread macro
56 __thread int var1 = 1;
57 __thread int var2;
/netbsd-src/tests/lib/libc/tls_dso/
H A Dh_tls_dynamic.c41 #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 Dtls.m47 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 Dtls.m47 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 Dtls.m47 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 Dtls.m47 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 Dtls.m47 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 Dtls.m47 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 Dtls.c20 __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 Dtls-nodebug.c5 __thread int thread_local = 42;
/netbsd-src/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/
H A Dtls.c20 __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 Dtls-nodebug.c5 __thread int thread_local = 42;
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/safestack/
H A Dsafestack.cc90 "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 Dh_helper_dso1.c35 #define __thread macro
64 static __thread int tls_callback_var;
/netbsd-src/sys/rump/librump/rumpkern/
H A Drump_curlwp___thread.h28 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 Dthread.h34 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 Dmutex.cc45 __thread void* __once_callable;
46 __thread void (*__once_call)();
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/
H A Dmutex.cc34 __thread void* __once_callable;
35 __thread void (*__once_call)();
/netbsd-src/sys/rump/
H A DREADME.compileopts68 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 Dh_onlydef.c29 __thread int mysym = 0;
/netbsd-src/tests/libexec/ld.elf_so/helper_onlydef_static/
H A Dh_onlydef_static.c29 __thread int mysym __attribute__((tls_model("initial-exec"))) = 0;

1234567