linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* threads and kernel
@ 2007-10-21 13:21 Shriramana Sharma
  2007-10-21 16:26 ` Irfan Habib
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Shriramana Sharma @ 2007-10-21 13:21 UTC (permalink / raw)
  To: Linux C Programming List

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.


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

end of thread, other threads:[~2007-10-23  7:30 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-21 13:21 threads and kernel Shriramana Sharma
2007-10-21 16:26 ` 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

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).