*BSD News Article 70236


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.mel.connect.com.au!news.mira.net.au!news.vbc.net!garlic.com!news.scruz.net!kithrup.com!news.Stanford.EDU!agate!theos.com!riscan.riscan.com!van.istar!van-bc!news.mindlink.net!uniserve!news.sol.net!spool.mu.edu!usenet.eel.ufl.edu!bofh.dot!news.ultranet.com!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!ncar!csn!nntp-xfer-1.csn.net!ub!news.drenet.dnd.ca!crc-news.doc.c
a!nott!hone!informer1.cis.McMaster.CA!church.dcss!church.dcss!not-for-mail
From: dsantry@church.dcss.McMaster.CA (Douglas Santry)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Threads for 2.1R, alpha testers wanted
Date: 5 Jun 1996 10:07:28 -0400
Organization: Computer Science & Systems, McMaster University
Lines: 29
Message-ID: <4p44b0$ovl@church.dcss.McMaster.CA>
NNTP-Posting-Host: church.dcss.mcmaster.ca

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.

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!).

I am prepared to offer this code to the public probably mid-next week.  You
would be testing this stuff, I'm the only person who has run them so somebody
else is bound to break it, but on the whole, it is pretty sound.

Since I don't have an ftp site, if you wwant to multi-thread your BSD kernel,
you must email me, and I'll email you back a uuencoded tar file which 
contains all the goodies.

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.

If anybody has an ftp site that wants to put this up, please let me know so
I don't have to email everybody!

DJS