*BSD News Article 70284


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.uoknor.edu!news.nodak.edu!netnews1.nwnet.net!netnews.nwnet.net!news.sprintlink.net!news-dc-10.sprintlink.net!tank.news.pipex.net!pipex!usenet2.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!jraynard.demon.co.uk!not-for-mail
From: james@jraynard.demon.co.uk (James Raynard)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Threads for 2.1R, alpha testers wanted
Date: 5 Jun 1996 20:40:54 -0000
Organization: A FreeBSD Box
Lines: 28
Message-ID: <4p4rcm$oe9@jraynard.demon.co.uk>
References: <4p44b0$ovl@church.dcss.McMaster.CA>
NNTP-Posting-Host: localhost.demon.co.uk
X-NNTP-Posting-Host: jraynard.demon.co.uk

In article <4p44b0$ovl@church.dcss.McMaster.CA>,
Douglas Santry <dsantry@church.dcss.McMaster.CA> wrote:
>Howdy, I have built a threads implementation for BSD 2.1R, these are threads
>controlled by the kernel.  They can take signals, do all system calls and
>malloc memory *after* creation and share the pointer.

Interesting...

>There are some problems though, the biggy is, libc is not MT safe, so *all*
>static vars in libc are unprotected. (if anybody builds a rentrant libc, I would
>be forever thankful!).

There already is one in -current, you'll be pleased to hear!

>I am not a member of the FreeBSD core team, this is *not* sanctioned by them
>so if you find a bug or have a complaint, please don't blaim them cuz isn't
>there fault.  After this is deemed totally stable, I plan to submit the code
>to them.

Understood. There are actually a couple of people working on threads,
I seem to remember, but I don't have any details here at the moment.
Perhaps it would be a good idea to drop a note to hackers@freebsd.org,
just to make sure you don't end up duplicating each other's work?

-- 
James Raynard, Edinburgh, Scotland | http://freefall.freebsd.org/~jraynard/
james@jraynard.demon.co.uk         | jraynard@freebsd.org