Subject: Re: pthread - lwp - process
To: None <netbsd-help@netbsd.org>
From: aalu paneer <aalu.paneer@gmail.com>
List: netbsd-help
Date: 01/22/2007 23:29:00
OK, process in NetBSD world is same as the generally understood term.

But we have pthread_create() and _lwp_create(). Does it mean that
pthread_create() is a POSIX equivalent of _lwp_create()?

Regards,
Me

On 1/20/07, Manuel Bouyer <bouyer@antioche.eu.org> wrote:
> 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 <bouyer@antioche.eu.org>
>      NetBSD: 26 ans d'experience feront toujours la difference
> --
>