Re: pthread - lwp - process

Manuel Bouyer <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
On Fri, Jan 19, 2007 at 07:58:12PM +0530, aalu paneer wrote:
> Hello All,
> 
> Can someone help me understand in broad overview the similarity and
> difference between the following in context of NetBSD:
> 
> 1. Thread created using pthread_create()
> 2. LWP
> 3. Process
> 
> I am trying to understand thread and lwp support in NetBSD. Any
> related information is welcome!

I'm not sure there's much differences betweel threads and LWP. 
What we call LWP is a thread in NetBSD.
A process is running program. 2 processes don't share the same
address space, unlike threads. A process can have several threads.

You may want to have a look at fork and pthread manual pages.



-- 
Manuel Bouyer <[email protected]>
     NetBSD: 26 ans d'experience feront toujours la difference
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.