From owner-freebsd-current Tue Dec 15 15:59:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA16869 for freebsd-current-outgoing; Tue, 15 Dec 1998 15:59:04 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA16858 for ; Tue, 15 Dec 1998 15:59:03 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id PAA20203; Tue, 15 Dec 1998 15:57:49 -0800 (PST) Received: from bubba.whistle.com( 207.76.205.7) by whistle.com via smap (V2.0) id xma020199; Tue, 15 Dec 98 15:57:36 -0800 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id PAA11828; Tue, 15 Dec 1998 15:57:35 -0800 (PST) From: Archie Cobbs Message-Id: <199812152357.PAA11828@bubba.whistle.com> Subject: Re: Linux Threads patches available In-Reply-To: <199812152318.RAA06787@ns.tar.com> from "Richard Seaman, Jr." at "Dec 15, 98 05:18:03 pm" To: lists@tar.com Date: Tue, 15 Dec 1998 15:57:35 -0800 (PST) Cc: nate@mt.sri.com, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Richard Seaman, Jr. writes: > Earlier I offered > to try to implement a "one-to-one" kernel threads library by extending > the current pthreads code, but almost all the comments I received were > that people wanted something other than one-to-one kernel threads. > This was beyond my capabilities and interest. Forgive me if I don't completely understand, but... It seems that if the one-to-one implementation were layered the right way, it would be easy to add a 'shim' layer (later on) that converts it into a many-to-many version of the same thing. In other words, can't you localize the operation 'give me a new context' to a single place in the code, which to start with always creates a kernel thread, but later can do some more intelligent thread management? Then we can start with 1:1 threads, and improve them later. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message