public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* threads questions
@ 2005-09-04  4:26 Petter Shappen
  2005-09-04 22:29 ` Alex Riesen
  0 siblings, 1 reply; 5+ messages in thread
From: Petter Shappen @ 2005-09-04  4:26 UTC (permalink / raw)
  To: linux-kernel

Hello everyone,this is my first time to post a message on this mailing-list.
As we all know the kernel maintain a data struct for the
process(PCB),and also for the thread.Because of the latter's smaller
than the former's,thread switching is faster than the process
switching.And from the book,I read that threads shares some data
information of the process,so my question is that when the threads of
different processes have to switch,and the threads also use some data
of the processes,will the process switch  before the threads?The speed
of these threads switching is slower than normal,is that true ?
How can the thread's advantage over process reflect?

-- 
Support Open Source!
Support Linux (Debian Mandriva ...)!
You are free to use them!

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-09-06  4:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-04  4:26 threads questions Petter Shappen
2005-09-04 22:29 ` Alex Riesen
2005-09-04 22:57   ` 2.6, devfs, SMP, SATA Howard Chu
2005-09-05 12:56     ` Pekka Enberg
2005-09-06  4:34       ` Howard Chu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox