Home
last modified time | relevance | path

Searched refs:threadId (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dpool.c213 { size_t threadId; in POOL_resize_internal() local
214 for (threadId = ctx->threadCapacity; threadId < numThreads; ++threadId) { in POOL_resize_internal()
215 if (ZSTD_pthread_create(&threadPool[threadId], NULL, &POOL_thread, ctx)) { in POOL_resize_internal()
216 ctx->threadCapacity = threadId; in POOL_resize_internal()
/freebsd/sys/contrib/zstd/lib/common/
H A Dpool.c221 { size_t threadId; in POOL_resize_internal() local
222 for (threadId = ctx->threadCapacity; threadId < numThreads; ++threadId) { in POOL_resize_internal()
223 if (ZSTD_pthread_create(&threadPool[threadId], NULL, &POOL_thread, ctx)) { in POOL_resize_internal()
224 ctx->threadCapacity = threadId; in POOL_resize_internal()
/freebsd/contrib/libpcap/rpcapd/
H A Drpcapd.c566 HANDLE threadId; // handle for the subthread in main_startup() local
581 threadId = (HANDLE)_beginthreadex(NULL, 0, main_active, in main_startup()
583 if (threadId == 0) in main_startup()
588 CloseHandle(threadId); in main_startup()
1148 HANDLE threadId; // handle for the subthread in accept_connection() local
1253 threadId = (HANDLE)_beginthreadex(NULL, 0, in accept_connection()
1255 if (threadId == 0) in accept_connection()
1263 CloseHandle(threadId); in accept_connection()
/freebsd/tools/test/stress2/misc/
H A Dnamecache2.sh132 pthread_t threadId;
149 result = pthread_create(&threadId, NULL, statThread, NULL);
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_affinity.cpp2104 unsigned threadId; // "" member in apicThreadInfo
2119 if (aa->threadId < bb->threadId) in __kmp_affinity_cmp_apicThreadInfo_phys_id()
2121 if (aa->threadId > bb->threadId) in __kmp_affinity_cmp_apicThreadInfo_phys_id()
2350 threadInfo[nApics].threadId = threadInfo[nApics].apicId & maskT; in __kmp_affinity_create_apicid_map()
2386 unsigned lastThreadId = threadInfo[0].threadId; in __kmp_affinity_create_apicid_map()
2404 lastThreadId = threadInfo[i].threadId; in __kmp_affinity_create_apicid_map()
2420 lastThreadId = threadInfo[i].threadId; in __kmp_affinity_create_apicid_map()
2421 } else if (threadInfo[i].threadId != lastThreadId) { in __kmp_affinity_create_apicid_map()
2423 lastThreadId = threadInfo[i].threadId; in __kmp_affinity_create_apicid_map()
2483 hw_thread.ids[idx++] = threadInfo[i].threadId; in __kmp_affinity_create_apicid_map()
/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-stacks.cpp547 /*threadId*/ 0, reportThreadId); in printAllAggregatingThreads()
493 uint32_t threadId = iter.first; printAllPerThread() local
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXIL.td168 def threadId : DXILOpClass;
353 def ThreadId : DXILOpMapping<93, threadId, int_dx_thread_id,
/freebsd/contrib/llvm-project/lld/ELF/
H A DSyntheticSections.cpp3030 parallelFor(0, concurrency, [&](size_t threadId) { in computeEntryPool() argument
3040 if ((shardId & (concurrency - 1)) != threadId) in computeEntryPool()
3434 parallelFor(0, concurrency, [&](size_t threadId) { in createSymbols() argument
3439 if ((shardId & (concurrency - 1)) != threadId) in createSymbols()
3912 parallelFor(0, concurrency, [&](size_t threadId) { in finalizeContents() argument
3918 if ((shardId & (concurrency - 1)) == threadId) in finalizeContents()