From owner-freebsd-current Wed Apr 8 14:49:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA27687 for freebsd-current-outgoing; Wed, 8 Apr 1998 14:49:55 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA27676 for ; Wed, 8 Apr 1998 14:49:44 -0700 (PDT) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id QAA08206; Wed, 8 Apr 1998 16:48:29 -0500 (EST) (envelope-from toor) From: "John S. Dyson" Message-Id: <199804082148.QAA08206@dyson.iquest.net> Subject: Re: kernel support for memory semaphores/locks... In-Reply-To: <199804082114.HAA24748@cimlogic.com.au> from John Birrell at "Apr 9, 98 07:14:58 am" To: jb@cimlogic.com.au (John Birrell) Date: Wed, 8 Apr 1998 16:48:29 -0500 (EST) Cc: toor@dyson.iquest.net, dufault@hda.com, gurney_j@resnet.uoregon.edu, 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 > John S. Dyson wrote: > > > > > > Was this added for compatability with another system? > > > > > It was added to support some threads work. > > I think that yield() needs to be replaced by the sched_yield() that > Peter has coded. We are not currently building libc support for yield(). > > Any POSIX compatible threads work needs to use sched_yield(). yield() > polutes the user's name space, so it should be renamed before being > built into libc. > > I'd like to see any new syscalls named with leading underscores from > now on and a weak symbol for the name that the user is allowed to > re-define. > Well, I don't mind renaming it, but I need it. (Unless sched_yield does what I need.) John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message