Home
last modified time | relevance | path

Searched refs:nthread (Results 1 – 14 of 14) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/
H A Dtsan_platform_mac.cpp163 uptr nthread, nlive; in WriteMemoryProfile() local
164 ctx->thread_registry.GetNumberOfThreads(&nthread, &nlive); in WriteMemoryProfile()
190 stacks.n_uniq_ids, stacks.allocated / 1024, nthread, nlive); in WriteMemoryProfile()
H A Dtsan_platform_linux.cpp127 uptr nthread, nlive; in WriteMemoryProfile() local
128 ctx->thread_registry.GetNumberOfThreads(&nthread, &nlive); in WriteMemoryProfile()
146 stacks.n_uniq_ids, nlive, nthread); in WriteMemoryProfile()
H A Dtsan_rtl.cpp521 uptr nthread = 0; in ForkChildAfter() local
522 ctx->thread_registry.GetNumberOfThreads(0, 0, &nthread /* alive threads */); in ForkChildAfter()
524 " parent had %d threads\n", (int)internal_getpid(), (int)nthread); in ForkChildAfter()
525 if (nthread == 1) { in ForkChildAfter()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
H A Dtsan_platform_windows.cc25 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { in WriteMemoryProfile() argument
H A Dtsan_platform_mac.cc136 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { in WriteMemoryProfile() argument
182 nthread, nlive); in WriteMemoryProfile()
H A Dtsan_platform_linux.cc116 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { in WriteMemoryProfile() argument
128 nlive, nthread); in WriteMemoryProfile()
H A Dtsan_rtl.cc497 uptr nthread = 0; in ForkChildAfter() local
498 ctx->thread_registry->GetNumberOfThreads(0, 0, &nthread /* alive threads */); in ForkChildAfter()
500 " parent had %d threads\n", (int)internal_getpid(), (int)nthread); in ForkChildAfter()
501 if (nthread == 1) { in ForkChildAfter()
H A Dtsan_platform.h1010 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive);
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A Dtsan_platform_windows.cc27 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { in WriteMemoryProfile() argument
H A Dtsan_platform_mac.cc138 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { in WriteMemoryProfile() argument
184 nthread, nlive); in WriteMemoryProfile()
H A Dtsan_platform_linux.cc118 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) { in WriteMemoryProfile() argument
130 nlive, nthread); in WriteMemoryProfile()
H A Dtsan_rtl.cc501 uptr nthread = 0; in ForkChildAfter() local
502 ctx->thread_registry->GetNumberOfThreads(0, 0, &nthread /* alive threads */); in ForkChildAfter()
504 " parent had %d threads\n", (int)internal_getpid(), (int)nthread); in ForkChildAfter()
505 if (nthread == 1) { in ForkChildAfter()
H A Dtsan_platform.h1012 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive);
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/unix/
H A Dsocket.c2822 isc__socketthread_t *thread, *nthread; in internal_accept() local
2995 nthread = &manager->threads[NEWCONNSOCK(dev)->threadid]; in internal_accept()
3028 LOCK(&nthread->fdlock[lockid]); in internal_accept()
3030 nthread->fds[fd] = NEWCONNSOCK(dev); in internal_accept()
3031 nthread->fdstate[fd] = MANAGED; in internal_accept()
3033 nthread->epoll_events[fd] = 0; in internal_accept()
3036 UNLOCK(&nthread->fdlock[lockid]); in internal_accept()
3042 if (nthread->maxfd < fd) { in internal_accept()
3043 nthread->maxfd = fd; in internal_accept()