From owner-freebsd-hackers Sat Oct 21 18:33:33 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA20291 for hackers-outgoing; Sat, 21 Oct 1995 18:33:33 -0700 Received: from wdl1.wdl.loral.com (wdl1.wdl.loral.com [137.249.32.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id SAA20285 for ; Sat, 21 Oct 1995 18:33:31 -0700 Received: from miles.sso.loral.com (miles.wdl.loral.com) by wdl1.wdl.loral.com (5.x/WDL-2.4-1.0) id AA05277; Sat, 21 Oct 1995 18:32:58 -0700 Received: by miles.sso.loral.com (4.1/SSO-SUN-2.04) id AA25690; Sat, 21 Oct 95 21:32:40 EDT Date: Sat, 21 Oct 1995 21:32:39 -0400 (EDT) From: Richard Toren X-Sender: rpt@miles To: hackers@freebsd.org Subject: Re: A quick vote on pthreads PLZ Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org Precedence: bulk Before throwing about the word POSIX, I think that a proposal of exactly what you are intending if this is put in as part of the base OS. Thread safe libraries? libc libC Sockets ... POSIX fork model for threaded code? Fork safe libraries as well? Implementing thread specifiec data (the array indexed by the key and thread id)? Signal handling? Has the FPU save/restore been fixed in pthreads recently? With the locking in the libraries, what will the gratutious mutex locking cost in time if the app is not threaded? Are we looking at truely preemptive threads ( all non-atomic reads are locked in the libraries)? Just some food for thought. I have used pthreads since this summer to practice threaded code analysis and construction, but I knew it was just a package, and had limitations. If it is advertised as being part of the OS, (and possibly POSIX) wil lit mislead people? ==================================================== Rip Toren | The bad news is that C++ is not an object-oriented | rpt@miles.sso.loral.com | programming language. .... The good news is that | | C++ supports object-oriented programming. | | C++ Programming & Fundamental Concepts | | by Anderson & Heinze | ====================================================