From owner-cvs-all@FreeBSD.ORG Thu Jul 17 16:02:31 2003 Return-Path: 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 8B79737B401; Thu, 17 Jul 2003 16:02:31 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CFE443F93; Thu, 17 Jul 2003 16:02:31 -0700 (PDT) (envelope-from davidxu@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 h6HN2U0U036586; Thu, 17 Jul 2003 16:02:30 -0700 (PDT) (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h6HN2UfD036583; Thu, 17 Jul 2003 16:02:30 -0700 (PDT) Message-Id: <200307172302.h6HN2UfD036583@repoman.freebsd.org> From: David Xu Date: Thu, 17 Jul 2003 16:02:30 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libpthread Makefile src/lib/libpthread/test sigsuspend_d.c src/lib/libpthread/thread thr_cancel.c thr_concurrency.c thr_create.c thr_find_thread.c thr_init.c... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2003 23:02:31 -0000 davidxu 2003/07/17 16:02:30 PDT FreeBSD src repository Modified files: lib/libpthread Makefile lib/libpthread/test sigsuspend_d.c lib/libpthread/thread thr_cancel.c thr_concurrency.c thr_create.c thr_find_thread.c thr_init.c thr_kern.c thr_nanosleep.c thr_private.h thr_sig.c thr_sigmask.c thr_sigpending.c thr_sigsuspend.c thr_sigwait.c thr_yield.c Log: o Eliminate upcall for PTHREAD_SYSTEM_SCOPE thread, now it is system bound thread and when it is blocked, no upcall is generated. o Add ability to libkse to allow it run in pure 1:1 threading mode, defining SYSTEM_SCOPE_ONLY in Makefile can turn on this option. o Eliminate code for installing dummy signal handler for sigwait call. o Add hash table to find thread. Reviewed by: deischen Revision Changes Path 1.47 +4 -0 src/lib/libpthread/Makefile 1.2 +2 -0 src/lib/libpthread/test/sigsuspend_d.c 1.25 +5 -3 src/lib/libpthread/thread/thr_cancel.c 1.4 +1 -1 src/lib/libpthread/thread/thr_concurrency.c 1.48 +25 -17 src/lib/libpthread/thread/thr_create.c 1.13 +11 -13 src/lib/libpthread/thread/thr_find_thread.c 1.57 +11 -5 src/lib/libpthread/thread/thr_init.c 1.78 +217 -104 src/lib/libpthread/thread/thr_kern.c 1.22 +3 -2 src/lib/libpthread/thread/thr_nanosleep.c 1.92 +13 -9 src/lib/libpthread/thread/thr_private.h 1.62 +235 -136 src/lib/libpthread/thread/thr_sig.c 1.16 +9 -0 src/lib/libpthread/thread/thr_sigmask.c 1.15 +3 -2 src/lib/libpthread/thread/thr_sigpending.c 1.21 +5 -2 src/lib/libpthread/thread/thr_sigsuspend.c 1.31 +50 -101 src/lib/libpthread/thread/thr_sigwait.c 1.13 +8 -0 src/lib/libpthread/thread/thr_yield.c