Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!agate!saturn!boulder!foobar!grunwald@ncar.UCAR.EDU From: boulder!foobar!grunwald@ncar.UCAR.EDU (Dirk Grunwald) Newsgroups: comp.os.research Subject: Re: threads for C/C++ under Unix? Message-ID: <9359@saturn.ucsc.edu> Date: 8 Oct 89 21:14:26 GMT Sender: usenet@saturn.ucsc.edu Organization: University of Colorado at Boulder Lines: 9 Approved: comp-os-research@jupiter.ucsc.edu Brown Threads does pretty much everything you want; I don't recall who developed them, so I can't point you in the right direction. However, I don't think you should fool with printf, other than making it reentrent (which, on most systems, it isn't). You don't always want I/O locking at the level of printf - typically across multiple printfs. Malloc, on the other hand, must be fixed.