From owner-cvs-src@FreeBSD.ORG Sat Aug 7 15:15:39 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DE1B16A4CF; Sat, 7 Aug 2004 15:15:39 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 463AE43D4C; Sat, 7 Aug 2004 15:15:39 +0000 (GMT) (envelope-from deischen@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i77FFdlA064894; Sat, 7 Aug 2004 15:15:39 GMT (envelope-from deischen@repoman.freebsd.org) Received: (from deischen@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i77FFdbf064893; Sat, 7 Aug 2004 15:15:39 GMT (envelope-from deischen) Message-Id: <200408071515.i77FFdbf064893@repoman.freebsd.org> From: Daniel Eischen Date: Sat, 7 Aug 2004 15:15:39 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libpthread/thread thr_create.c thr_exit.c thr_init.c thr_kern.c thr_private.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Aug 2004 15:15:39 -0000 deischen 2004-08-07 15:15:39 UTC FreeBSD src repository Modified files: lib/libpthread/thread thr_create.c thr_exit.c thr_init.c thr_kern.c thr_private.h Log: Add a way to force 1:1 mode for libpthread. To do this, define LIBPTHREAD_SYSTEM_SCOPE in the environment. You can still force libpthread to be built in strictly 1:1 by adding -DSYSTEM_SCOPE_ONLY to CFLAGS. This is kept for archs that don't yet support M:N mode. Requested by: rwatson Reviewed by: davidxu Revision Changes Path 1.56 +2 -3 src/lib/libpthread/thread/thr_create.c 1.37 +2 -5 src/lib/libpthread/thread/thr_exit.c 1.64 +9 -5 src/lib/libpthread/thread/thr_init.c 1.109 +27 -29 src/lib/libpthread/thread/thr_kern.c 1.118 +1 -0 src/lib/libpthread/thread/thr_private.h