From owner-cvs-all Wed Nov 13 10:14:38 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EB1937B401; Wed, 13 Nov 2002 10:14:37 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DA9743E3B; Wed, 13 Nov 2002 10:14:37 -0800 (PST) (envelope-from deischen@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gADIC9mV051769; Wed, 13 Nov 2002 10:12:09 -0800 (PST) (envelope-from deischen@repoman.freebsd.org) Received: (from deischen@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gADIC9pa051768; Wed, 13 Nov 2002 10:12:09 -0800 (PST) Message-Id: <200211131812.gADIC9pa051768@repoman.freebsd.org> From: Daniel Eischen Date: Wed, 13 Nov 2002 10:12:09 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen _pthread_stubs.c src/lib/libc/include libc_private.h namespace.h un-namespace.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG deischen 2002/11/13 10:12:09 PST Modified files: lib/libc/gen _pthread_stubs.c lib/libc/include libc_private.h namespace.h un-namespace.h Log: Use a jump table (a la Solaris) for pthread routines with default entries in the table being stubs. While I'm here, add macros to auto-generate the stubs. A conforming threads library can override the stub routines by filling in the jump table. Add some entries to namespace.h and sync un-namespace.h to it. Also add a comment to remind folks to update un-namespace.h when changing namespace.h. Revision Changes Path 1.9 +157 -384 src/lib/libc/gen/_pthread_stubs.c 1.6 +42 -0 src/lib/libc/include/libc_private.h 1.11 +11 -6 src/lib/libc/include/namespace.h 1.8 +17 -8 src/lib/libc/include/un-namespace.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message