From owner-freebsd-smp Mon Nov 25 03:28:22 1996 Return-Path: owner-smp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA09370 for smp-outgoing; Mon, 25 Nov 1996 03:28:22 -0800 (PST) Received: from hda.hda.com (ip29-max1-fitch.ziplink.net [199.232.245.29]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id DAA09363 for ; Mon, 25 Nov 1996 03:28:08 -0800 (PST) Received: (from dufault@localhost) by hda.hda.com (8.6.12/8.6.12) id GAA11718; Mon, 25 Nov 1996 06:25:56 -0500 From: Peter Dufault Message-Id: <199611251125.GAA11718@hda.hda.com> Subject: Re: Thread issues In-Reply-To: <199611240135.RAA22152@freefall.freebsd.org> from "Justin T. Gibbs" at "Nov 23, 96 05:35:45 pm" To: gibbs@freefall.freebsd.org (Justin T. Gibbs) Date: Mon, 25 Nov 1996 06:25:55 -0500 (EST) Cc: cracauer@cons.org, freebsd-smp@freebsd.org X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Having played with threads under NT, I must say that I find its APIs both > clean and easy to use. I wonder if we should take a step back and consider > what would be the best interface to supply for our users even if it vastly > differs from a "conventional UNIX thread" implementation. We can always > provide POSIX APIs on top of FreeBSD's native thread APIs. > > Threads and AIO are two features that the people doing embedded systems > with FreeBSD really want. In most cases, they are interested in > performance and time to market, not portability, so designing our own > interfaces would not hinder their efforts. In fact, a cleaner, more logical > set of APIs may reduce their TTM and make FreeBSD even more viable in this > arena. I don't agree. There is enough risk in a FreeBSD aproach that adhering to a standard API is a requirement. Working against an existing spec helps piece-wise implementation also. I have no complaint with a WIN32 thread interface as well, though I prefer to have the POSIX API native. -- Peter Dufault Real-Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267