*BSD News Article 80532


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.sprintlink.net!news-peer.sprintlink.net!uunet!news-in2.uu.net!news.artisoft.com!usenet
From: Terry Lambert <terry@lambert.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Threads in FreeBSD 2.2
Date: Sat, 12 Oct 1996 16:36:32 -0700
Organization: Me
Lines: 28
Message-ID: <32602B80.13CDDFAA@lambert.org>
References: <325EC44F.41C67EA6@mindspring.com>
NNTP-Posting-Host: hecate.artisoft.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.01 (X11; I; Linux 1.1.76 i486)

Ron Bolin wrote: 
] I did a cvsup and changed from 2.1.5 to 2.2 current. I noticed
] that the libc_r library seems to support kernel and user threads.
] How far along is this work. Is there a seat available for testing
] or such?

In "libc_r", "_r" means "reentrant".

The library is for support of the MIT pthreads, which hve been
ported and tested on FreeBSD.

This is *not* kernelk threading support, not that  it's horribly
relevant at this point, since kernel threading has a lot of
drawbacks compared to user space threading for every use but
SMP scalability, and even then it is sometimes a tradeoff (even
in UnixWare 2.x or Solaris 5.x).

You should be able to use the pthreads package using the POSIX
threading document as a reference.  For more information, you
should probably contact the home site for pthreads (you can find
it in the "port" package from FreeBSD, or you can find it by
looking for "pthreads" at the www.yahoo.com search site).

                                        Terry Lambert
                                        terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.