From owner-freebsd-arch Sun Jan 6 12: 9:34 2002 Delivered-To: freebsd-arch@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id 1CA3837B41A for ; Sun, 6 Jan 2002 12:09:31 -0800 (PST) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id MAA76513; Sun, 6 Jan 2002 12:00:27 -0800 (PST) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g06K0La35178; Sun, 6 Jan 2002 12:00:21 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200201062000.g06K0La35178@arch20m.dellroad.org> Subject: Re: Request for review: getcontext, setcontext, etc In-Reply-To: <20020106032709.A82406@elvis.mu.org> "from Alfred Perlstein at Jan 6, 2002 03:27:09 am" To: Alfred Perlstein Date: Sun, 6 Jan 2002 12:00:21 -0800 (PST) Cc: Dan Eischen , arch@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alfred Perlstein writes: > > Is there a reason that getcontext and setcontext need to be > > system calls? > > Atomicity? That can't be why.. otherwise this would imply that just because something is written in assembly instead of C that it could have atomicity problems. BTW, I think this adding these is a great idea.. e.g., the pth port can take advantage of these as well. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message