From: Petter Shappen <shappen@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: threads questions
Date: Sun, 4 Sep 2005 12:26:42 +0800 [thread overview]
Message-ID: <d2a0e906050903212678ad88a1@mail.gmail.com> (raw)
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!
next reply other threads:[~2005-09-04 4:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-04 4:26 Petter Shappen [this message]
2005-09-04 22:29 ` threads questions 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d2a0e906050903212678ad88a1@mail.gmail.com \
--to=shappen@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox