mib[1] = KERN_CLOCKRATE;
len = sizeof (struct clockinfo);
if (sysctl(mib, 2, &clockinfo, &len, NULL, 0) == 0)
_clock_res_usec = clockinfo.tick;
/* NPMOD - use larger of clockinfo.tick or
CLOCK_RES_USEC (=10ms) for the uthreads
base tick (pavel - 21-Feb-2001):*/
_clock_res_usec = (clockinfo.tick > CLOCK_RES_USEC) ?
clockinfo.tick : CLOCK_RES_USEC;
/* Get the table size: */
if ((_thread_dtablesize = getdtablesize()) < 0) {