Searched refs:numthreads (Results 1 - 1 of 1) sorted by relevance

/darwin-on-arm/xnu/bsd/kern/
H A Dproc_info.c753 int numthreads; local
757 numthreads = get_numthreads(p->task);
759 numthreads += 10;
761 if (numthreads > count)
762 numthreads = count;
764 kbuf = (void *)kalloc(numthreads * sizeof(uint64_t));
767 bzero(kbuf, numthreads * sizeof(uint64_t));
769 ret = fill_taskthreadlist(p->task, kbuf, numthreads);
772 kfree(kbuf, numthreads * sizeof(uint64_t));

Completed in 70 milliseconds