Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2002 13:38:40 -0400 (EDT)
From:      Kenneth Culver <culverk@yumyumyum.org>
To:        =?iso-8859-1?Q?Jo=E3o_Esteves?= <jesteves@criticalsoftware.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: pthreads implementation is FreeBSD
Message-ID:  <20020719133628.S55134-100000@alpha.yumyumyum.org>
In-Reply-To: <000801c22f4a$9f201340$2d03a8c0@CRITICAL.PT>

next in thread | previous in thread | raw e-mail | index | archive | help
> I'm searching the web for the implementation of pthreads in different
> UNIX-like OS's but I can't find a clear documentation about the way that
> FreeBSD(and family Net, Open) uses to implement it.
>
> My first question is; does FreeBSD implements a thread as a process(like
> Linux and other ystems) or it supports threads in a native way?

No, FreeBSD (-STABLE) uses a userland thread mechanism... it's actually
faster than the process based approach as long as the kernel doesn't get
involved (for things like disk io and whatever)


> My second question is; all the BSD family uses the same approach to the
> thread implementation?

I don't have the slightest idea what NetBSD or OpenBSD do.

Ken


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020719133628.S55134-100000>