From owner-freebsd-current Wed Apr 8 14:14:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA19605 for freebsd-current-outgoing; Wed, 8 Apr 1998 14:14:30 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from cimlogic.com.au ([203.36.2.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA19571 for ; Wed, 8 Apr 1998 14:14:23 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.5/8.8.7) id HAA24748; Thu, 9 Apr 1998 07:14:58 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199804082114.HAA24748@cimlogic.com.au> Subject: Re: kernel support for memory semaphores/locks... In-Reply-To: <199804081828.NAA07514@dyson.iquest.net> from "John S. Dyson" at "Apr 8, 98 01:28:11 pm" To: toor@dyson.iquest.net (John S. Dyson) Date: Thu, 9 Apr 1998 07:14:58 +1000 (EST) Cc: dufault@hda.com, gurney_j@resnet.uoregon.edu, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (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. -- 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 freebsd-current" in the body of the message