Re: Threading Concept in Linux....?
- From: Matthias Kaehlcke <matthias.kaehlcke@xxxxxxxxx>
- Date: 28 May 2007 06:00:42 -0700
On May 28, 1:19 pm, Murali <nalajala.mur...@xxxxxxxxx> wrote:
Hi all,
1) I have a small doubt in Linux Basics.
Wether the Linux having threading concept ?
The Linux kernel doesn't, everything in Linux is a process.
I heard Linux treat everything as a process ? Is it true ?
Yes
If not how can i found that linux suppport threading concept ?
Processes in Linux can share certain resources with other processes.
Libraries like pthread make use of this feature to bring threads to
user-space. Threads in Linux are processes that share their process
address space with other processes.
For a mored detailed explication have a look at
http://www.samspublishing.com/articles/article.asp?p=368650&seqNum=3&rl=1
2) I would like to know the difference between Process/Thread and
Task.
Task: AFAIK there is no official definition, i'd say something like
"unit of concurrency"
Process: Each process has it's own address space
Thread: A thread shares it's address space with other threads
regards
Matthias
.
- References:
- Threading Concept in Linux....?
- From: Murali
- Threading Concept in Linux....?
- Prev by Date: Threading Concept in Linux....?
- Next by Date: Re: *** Software Architect & Lead Openings @ Hyderabad
- Previous by thread: Threading Concept in Linux....?
- Next by thread: Re: Threading Concept in Linux....?
- Index(es):
Relevant Pages
|