Date: Sun, 8 Mar 1998 17:17:16 +1100 (EST) From: John Birrell <jb@cimlogic.com.au> To: nate@mt.sri.com (Nate Williams) Cc: jb@cimlogic.com.au, nate@mt.sri.com, cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_yield.c Message-ID: <199803080617.RAA11156@cimlogic.com.au> In-Reply-To: <199803080609.XAA06977@mt.sri.com> from Nate Williams at "Mar 7, 98 11:09:15 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Nate Williams wrote: > 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.) Yes, I was comparing the threaded model to the asynch model where you try not to block and fork off processes to do the work. For a while we tried to support both models in some of our applications. Then came the opportunity to add threads to FreeBSD. That swing the balance in favour of the threaded model, so we dropped the other one. Life is better now. 8-) > > > 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? Read my sentence again. 8-) You don't need to emulate threads because NT *is* threaded. I was mourning the fact that, by my rules, I had to continue using it (unlike Win3.11 which got ditched along with System V). Chuckle. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803080617.RAA11156>