Re: pthread in linux

From: Robert Love (rml@tech9.net)
Date: Fri Jul 18 2003 - 14:43:05 EST


On Fri, 2003-07-18 at 11:37, Guanhua Yan wrote:

> does anyone know the default time slice for each pthread execution in linux?
> is it 1/60 sec? thanks!

It is the same as the default process timeslice, and that would depend
on your kernel version.

Currently, in 2.6.0-test1, it ranges from 10ms to 200ms, depending on
priority, with a default of 200ms.

        Robert Love

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:35 EST