From owner-freebsd-arch Sat Nov 16 7:28:42 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9823A37B401 for ; Sat, 16 Nov 2002 07:28:41 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81D4743E77 for ; Sat, 16 Nov 2002 07:28:40 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from vigrid.com (tnt-77-54.ct.dialin.ntplx.com [209.54.77.54]) by mail.pcnet.com (8.12.3/8.12.1) with ESMTP id gAGFSc03002352; Sat, 16 Nov 2002 10:28:38 -0500 (EST) Message-ID: <3DD66393.40AFC73@vigrid.com> Date: Sat, 16 Nov 2002 10:26:11 -0500 From: Daniel Eischen X-Mailer: Mozilla 4.74 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: arch@freebsd.org Subject: What to do with userland *context() functions Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 After adding *context() as system calls, we no longer need the userland versions. But I would like to use them in libc_r and they might be useful to someone else writing their own userland threading library. As of now, we need different variants of them for libpthread, so they aren't expected to be used there. How do folks feel about keeping them in libc, but named as _getctx, _setctx, _swapctx? They would be similar to _setjmp/_longjmp which don't save/restore the signal mask. It'll add a little bloat to libc and they are only present for i386 and alpha archs. I'll have them repo-copied to libc_r if the consensus is to remove them from libc. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message