From: Shriramana Sharma <samjnaa@gmail.com>
To: Linux C Programming List <linux-c-programming@vger.kernel.org>
Subject: threads and kernel
Date: Sun, 21 Oct 2007 18:51:58 +0530 [thread overview]
Message-ID: <471B5276.9010800@gmail.com> (raw)
Hello, my knowledgeable friends! :)
1.
As I understand it, the kernel is always running and whenever an app
asks for a system resource the kernel does the needful. However, in my
process tree I see no process named linux or kernel. I only see the init
process at the root of the tree. Does the init process represent the kernel?
2.
When an app does a system call, would some form of IPC between the
process of that app and the kernel process (assuming there is one) be
involved?
3.
When an application uses a library, the app and the library are
processed in DIFFERENT threads in which of the following cases:
1. the library is statically linked
2. the library is dynamically linked
3. the library is loaded using dlopen
My guess is "none of the above", am I right?
These are NOT homework questions! :)
Thanks, as always.
Shriramana Sharma.
next reply other threads:[~2007-10-21 13:21 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-21 13:21 Shriramana Sharma [this message]
2007-10-21 16:26 ` threads and kernel Irfan Habib
2007-10-21 17:23 ` Steve Graegert
2007-10-22 6:50 ` Benoit Fouet
2007-10-22 13:01 ` Steve Graegert
2007-10-22 13:27 ` Benoit Fouet
2007-10-22 13:31 ` Steve Graegert
2007-10-22 13:38 ` Benoit Fouet
2007-10-22 14:20 ` Steve Graegert
2007-10-22 14:34 ` Benoit Fouet
2007-10-23 4:32 ` vibi
2007-10-23 5:14 ` Steve Graegert
2007-10-23 5:53 ` vibi
2007-10-23 6:58 ` Steve Graegert
2007-10-23 7:10 ` vibi
2007-10-23 7:30 ` Steve Graegert
2007-10-22 7:55 ` Shriramana Sharma
2007-10-22 13:41 ` Steve Graegert
2007-10-22 17:18 ` Glynn Clements
2007-10-21 17:36 ` Glynn Clements
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=471B5276.9010800@gmail.com \
--to=samjnaa@gmail.com \
--cc=linux-c-programming@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;
as well as URLs for NNTP newsgroup(s).