Home
last modified time | relevance | path

Searched refs:thread_local (Results 1 – 25 of 85) sorted by relevance

1234

/netbsd-src/tests/lib/libpthread/
H A Dh_thread_local_dtor.cpp54 thread_local OrderChecker checker{ID}; in ~CreatesThreadLocalInDestructor()
62 thread_local CreatesThreadLocalInDestructor<2> creates_tl2; in thread_fn()
63 thread_local OrderChecker fn_thread_local{1}; in thread_fn()
64 thread_local CreatesThreadLocalInDestructor<0> creates_tl0; in thread_fn()
76 thread_local OrderChecker fn_thread_local{4}; in main()
77 thread_local CreatesThreadLocalInDestructor<3> creates_tl; in main()
/netbsd-src/tests/usr.bin/xlint/lint1/
H A Dc23.c86 // The keyword 'thread_local' was introduced in C23.
87 thread_local int globally_visible;
90 thread_local void
101 thread_local int function_scoped_thread_local; in function()
104 // 'thread_local' can be combined with 'extern' and 'static', but with no other
106 extern thread_local int extern_thread_local_1;
107 thread_local extern int extern_thread_local_2;
109 static thread_local int static_thread_local_1;
111 thread_local static int static_thread_local_2;
H A Dc11.c172 // In C11 mode, 'thread_local' is not yet known, but '_Thread_local' is.
175 thread_local int thread_local_variable_c23;
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/
H A Dxray_profiling.cc56 thread_local FunctionCallTrie::Allocators::Buffers ThreadBuffers;
57 thread_local std::aligned_storage<sizeof(FunctionCallTrie::Allocators),
60 thread_local std::aligned_storage<sizeof(FunctionCallTrie),
63 thread_local ProfilingData TLD{{0}, {0}};
64 thread_local atomic_uint8_t ReentranceGuard{0};
69 thread_local atomic_uint8_t TLDInitGuard{0};
73 thread_local atomic_uint8_t ThreadExitingLatch{0};
76 thread_local auto ThreadOnce = []() XRAY_NEVER_INSTRUMENT { in getThreadLocalData()
H A Dxray_basic_logging.cc81 thread_local atomic_uint8_t Guard{0};
126 thread_local ThreadLocalData TLD; in getThreadLocalData()
127 thread_local bool UNUSED TOnce = [] { in getThreadLocalData()
/netbsd-src/tests/libexec/ld.elf_so/
H A Dt_thread_local_dtor.sh40 in ctor: thread_local
43 in dtor: thread_local
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/pthreads/include/isc/
H A Dthread.h32 extern thread_local size_t isc_tid_v;
64 #define ISC_THREAD_LOCAL static thread_local
/netbsd-src/external/mpl/bind/dist/lib/isc/
H A Drandom.c66 static thread_local bool initialized = false;
67 static thread_local uint32_t seed[4] = { 0 };
H A Dtrampoline.c
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
H A DFuzzerDefs.h136 __attribute__((tls_model("initial-exec"))) thread_local static
140 ATTRIBUTE_INTERFACE __attribute__((tls_model("initial-exec"))) thread_local
H A DFuzzerInternal.h152 static thread_local bool IsMyThread;
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/
H A Drandom47 static thread_local default_random_engine __eng{random_device{}()};
61 // otherwise we'd need a static thread_local _Dist and pass it
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/
H A Drandom47 static thread_local default_random_engine __eng{random_device{}()};
60 // otherwise we'd need a static thread_local _Dist and pass it
/netbsd-src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/
H A Dtls-nodebug.c5 __thread int thread_local = 42; variable
/netbsd-src/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/
H A Dtls-nodebug.c5 __thread int thread_local = 42; variable
/netbsd-src/external/bsd/unbound/dist/pythonmod/examples/
H A Davahi-resolver.py197 thread_local = threading.local() variable
339 queue = thread_local.queue
343 thread_local.queue = queue
/netbsd-src/tests/libexec/ld.elf_so/helper_dso3/
H A Dh_helper_dso3.cpp45 static thread_local VerboseDestructor tls_dtor("thread_local"); in testfunc()
/netbsd-src/external/mpl/bind/dist/lib/isc/include/isc/
H A Dthread.h25 #define thread_local _Thread_local
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/
H A Dprofile_collector_test.cc187 thread_local FunctionCallTrie::Allocators::Buffers Buffers = [] { in threadProcessing()
196 thread_local auto Allocators = in threadProcessing()
/netbsd-src/lib/libpthread/
H A Dthreads.h44 #define thread_local _Thread_local macro
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/
H A Dasan_posix.cc60 static thread_local struct tsd_key key;
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/
H A Dasan_posix.cpp87 static thread_local struct tsd_key key;
/netbsd-src/external/mpl/bind/include/
H A Dconfig.h713 #define thread_local global() macro
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/
H A Dtrampoline.c62 thread_local size_t isc_tid_v = SIZE_MAX;
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_rtems.cc74 static thread_local void *per_thread;

1234