From owner-cvs-all Sat Mar 7 22:09:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA09316 for cvs-all-outgoing; Sat, 7 Mar 1998 22:09:20 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA09309 for ; Sat, 7 Mar 1998 22:09:18 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id XAA17249; Sat, 7 Mar 1998 23:09:18 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id XAA06977; Sat, 7 Mar 1998 23:09:15 -0700 Date: Sat, 7 Mar 1998 23:09:15 -0700 Message-Id: <199803080609.XAA06977@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: John Birrell Cc: nate@mt.sri.com (Nate Williams), cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_yield.c In-Reply-To: <199803080605.RAA11090@cimlogic.com.au> References: <199803080555.WAA06789@mt.sri.com> <199803080605.RAA11090@cimlogic.com.au> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > > Good enough. After using threads consistently for about 18 months, I > > *like* them, but understand that if they become too heavy, most of the > > advantages of using them go away. > > I like the programming model that allows me to block a thread while > it waits for something to complete. Aren't all threading models based on this? Everything I've read on threads (not a lot I'll admit) imply this is available in all threaded implementations. (However, you might get blocked by the OS or other code that someone else has written, but that's just the way it is.) > This makes the code linear and much easier for me to understand. I've > dropped support for operating systems which aren't threaded (like > OS9). Unfortunately WinNT is threaded and POSIX wrappers are > trivial. Sigh. Can't you emulate threads in the same manner as is done (currently) in FreeBSD? Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message