From owner-freebsd-arch Mon Jan 7 10:17:41 2002 Delivered-To: freebsd-arch@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id C05FF37B404 for ; Mon, 7 Jan 2002 10:17:30 -0800 (PST) Received: from caddis.yogotech.com (caddis.yogotech.com [206.127.123.130]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id LAA09979; Mon, 7 Jan 2002 11:17:25 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by caddis.yogotech.com (8.11.6/8.11.6) id g07IHOM98055; Mon, 7 Jan 2002 11:17:24 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15417.58929.834861.844289@caddis.yogotech.com> Date: Mon, 7 Jan 2002 11:17:21 -0700 To: Dan Eischen Cc: arch@FreeBSD.ORG Subject: Re: Request for review: getcontext, setcontext, etc In-Reply-To: <3C37E559.B011DF29@vigrid.com> References: <3C37E559.B011DF29@vigrid.com> X-Mailer: VM 6.96 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) 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 Dan Eischen writes: > I've got getcontext, setcontext, makecontext, and swapcontext > implemented and would like to add them to libc. > Is there a reason that getcontext and setcontext need to be > system calls? If I understand correctly, for Solaris it was getting the kernel context when all threads were kernel threads, hence the need to be a system call. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message