
October 11th, 2012, 12:11 PM
|
|
Registered User
|
|
Join Date: Sep 2012
Posts: 13
Time spent in forums: 3 h 34 m 57 sec
Reputation Power: 0
|
|
|
Concept of thread and process in linux
These lines are from a popular book of linux.
Quote: "Linux has a unique implementation of threads.To the Linux kernel, there is no concept of a thread. Linux implements all threads as standard processes.The Linux kernel does not provide any special scheduling semantics or data structures to represent threads.
Instead, a thread is merely a process that shares certain resources with other processes." |
I would like to know
Is there any way how a program written using fork() is represented in memory to that of a thread.
I mean some kind of command or tools shows the info about the process/threads running.
I just started learning linux internal, and i am more worried about the questions like "difference process and thread in interview".
Last edited by ccsr : October 11th, 2012 at 09:02 PM.
Reason: reframing the question
|