| /netbsd-src/tests/lib/libpthread/ |
| H A D | h_thread_local_dtor.cpp | 54 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 D | c23.c | 86 // 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 D | c11.c | 172 // 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 D | xray_profiling.cc | 56 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 D | xray_basic_logging.cc | 81 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 D | t_thread_local_dtor.sh | 40 in ctor: thread_local 43 in dtor: thread_local
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/pthreads/include/isc/ |
| H A D | thread.h | 32 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 D | random.c | 66 static thread_local bool initialized = false; 67 static thread_local uint32_t seed[4] = { 0 };
|
| H A D | trampoline.c | |
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/ |
| H A D | FuzzerDefs.h | 136 __attribute__((tls_model("initial-exec"))) thread_local static 140 ATTRIBUTE_INTERFACE __attribute__((tls_model("initial-exec"))) thread_local
|
| H A D | FuzzerInternal.h | 152 static thread_local bool IsMyThread;
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/ |
| H A D | random | 47 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 D | random | 47 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 D | tls-nodebug.c | 5 __thread int thread_local = 42; variable
|
| /netbsd-src/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ |
| H A D | tls-nodebug.c | 5 __thread int thread_local = 42; variable
|
| /netbsd-src/external/bsd/unbound/dist/pythonmod/examples/ |
| H A D | avahi-resolver.py | 197 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 D | h_helper_dso3.cpp | 45 static thread_local VerboseDestructor tls_dtor("thread_local"); in testfunc()
|
| /netbsd-src/external/mpl/bind/dist/lib/isc/include/isc/ |
| H A D | thread.h | 25 #define thread_local _Thread_local
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/ |
| H A D | profile_collector_test.cc | 187 thread_local FunctionCallTrie::Allocators::Buffers Buffers = [] { in threadProcessing() 196 thread_local auto Allocators = in threadProcessing()
|
| /netbsd-src/lib/libpthread/ |
| H A D | threads.h | 44 #define thread_local _Thread_local macro
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
| H A D | asan_posix.cc | 60 static thread_local struct tsd_key key;
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/ |
| H A D | asan_posix.cpp | 87 static thread_local struct tsd_key key;
|
| /netbsd-src/external/mpl/bind/include/ |
| H A D | config.h | 713 #define thread_local global() macro
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/ |
| H A D | trampoline.c | 62 thread_local size_t isc_tid_v = SIZE_MAX;
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
| H A D | asan_rtems.cc | 74 static thread_local void *per_thread;
|