Searched refs:numthreads (Results 1 - 6 of 6) sorted by last modified time

/macosx-10.10/libpthread-105.1.4/src/
H A Dpthread.c2003 pthread_workqueue_addthreads_np(int queue_priority, int options, int numthreads) argument
2046 res = __workq_kernreturn(WQOPS_QUEUE_REQTHREADS, NULL, numthreads, (int)kp);
2054 _pthread_workqueue_addthreads(int numthreads, pthread_priority_t priority) argument
2066 res = __workq_kernreturn(WQOPS_QUEUE_REQTHREADS, NULL, numthreads, (int)priority);
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dproc_info.c813 int numthreads; local
817 numthreads = get_numthreads(p->task);
819 numthreads += 10;
821 if (numthreads > count)
822 numthreads = count;
824 kbuf = (void *)kalloc(numthreads * sizeof(uint64_t));
827 bzero(kbuf, numthreads * sizeof(uint64_t));
829 ret = fill_taskthreadlist(p->task, kbuf, numthreads);
832 kfree(kbuf, numthreads * sizeof(uint64_t));
/macosx-10.10/llvmCore-3425.0.34/utils/
H A Dllvm-compilers-check557 numthreads = options.threads
560 + str(numthreads) + " threads using " + str(jobs)
566 for t in range(numthreads):
/macosx-10.10/libpthread-105.1.4/private/
H A Dworkqueue_private.h90 pthread_workqueue_addthreads_np(int queue_priority, int options, int numthreads);
100 _pthread_workqueue_addthreads(int numthreads, pthread_priority_t priority);
/macosx-10.10/gssd-64/
H A Dgssd.c154 static int numthreads = 0; /* Current number of service threads */ variable
726 DEBUG(3, "Time out exiting. Number of threads is %d\n", numthreads);
1583 while (bye == 0 && numthreads >= maxthreads) {
1588 numthreads++;
1592 numthreads--;
1597 snprintf(thread_name, sizeof (thread_name), "worker thread %d", numthreads);
1616 numthreads--;
1617 if (numthreads < maxthreads)
1623 DEBUG(3, "Ending %s. Number of worker threads running is %d\n", thread_name, numthreads);
1769 while (bye ? (rv == 0 && numthreads >
[all...]
/macosx-10.10/autofs-246/automountd/
H A Dautod_main.c91 static int numthreads; variable
449 while (bye == 0 && numthreads >= MAXTHREADS)
453 numthreads++;
458 numthreads--;
460 if (numthreads == 2)
477 numthreads--;
478 if (numthreads == 1)
480 if (numthreads < MAXTHREADS)
563 while ((rv == 0 || numthreads > 1) && bye < 2) {

Completed in 142 milliseconds