* pthread in linux
@ 2003-07-18 18:37 Guanhua Yan
2003-07-18 19:43 ` Robert Love
0 siblings, 1 reply; 3+ messages in thread
From: Guanhua Yan @ 2003-07-18 18:37 UTC (permalink / raw)
To: linux-kernel
does anyone know the default time slice for each pthread execution in linux?
is it 1/60 sec? thanks!
- guanhua
--
%%%%%%%%%%%%%%%%%%%%%%%%%
Guanhua Yan, Ph.D. Student
Department of Computer Science
Institute for Security Technology Studies
Dartmouth College, Hanover, NH 03755
email: ghyan@cs.dartmouth.edu
phone: 603-646-0683
homepage: www.cs.dartmouth.edu/~ghyan
%%%%%%%%%%%%%%%%%%%%%%%%%
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pthread in linux
2003-07-18 18:37 pthread in linux Guanhua Yan
@ 2003-07-18 19:43 ` Robert Love
2003-07-18 19:48 ` Robert Love
0 siblings, 1 reply; 3+ messages in thread
From: Robert Love @ 2003-07-18 19:43 UTC (permalink / raw)
To: ghyan; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pthread in linux
2003-07-18 19:43 ` Robert Love
@ 2003-07-18 19:48 ` Robert Love
0 siblings, 0 replies; 3+ messages in thread
From: Robert Love @ 2003-07-18 19:48 UTC (permalink / raw)
To: ghyan; +Cc: linux-kernel
On Fri, 2003-07-18 at 12:43, Robert Love wrote:
> Currently, in 2.6.0-test1, it ranges from 10ms to 200ms, depending on
> priority, with a default of 200ms.
Err, with a default of 100ms.
Robert Love
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-07-18 19:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-18 18:37 pthread in linux Guanhua Yan
2003-07-18 19:43 ` Robert Love
2003-07-18 19:48 ` Robert Love
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.