From owner-cvs-all@FreeBSD.ORG Fri Jul 18 13:51:01 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 0688B37B401; Fri, 18 Jul 2003 13:51:01 -0700 (PDT) Received: from magic.adaptec.com (magic-mail.adaptec.com [208.236.45.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D23943F3F; Fri, 18 Jul 2003 13:51:00 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6/8.11.6) with ESMTP id h6IKoxs29095; Fri, 18 Jul 2003 13:50:59 -0700 Received: from freebsd.org ([10.100.253.187]) by redfish.adaptec.com (8.8.8p2+Sun/8.8.8) with ESMTP id NAA14877; Fri, 18 Jul 2003 13:50:59 -0700 (PDT) Message-ID: <3F185DAA.2040208@freebsd.org> Date: Fri, 18 Jul 2003 14:50:50 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Xu References: <200307172302.h6HN2UfD036583@repoman.freebsd.org> In-Reply-To: <200307172302.h6HN2UfD036583@repoman.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libpthread Makefile src/lib/libpthread/test thr_concurrency.cthr_nanosleep.c thr_private.h thr_sig.c thr_sigmask.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: Fri, 18 Jul 2003 20:51:01 -0000 David and all, Thanks for all of the good work here! There has been a grwoing question of which threading package will be made 'default' for 5.x. The main requirement is that the default threading package be supported on all Tier-1 platforms. Right now, only libc_r meets that requirement. Here's a quick table from memory, please correct me if I'm wrong: i386 alpha sparc64 ia64 c_r X X X X kse X X thr X X X Don't forget that amd64 is up-and-coming also. Scott David Xu wrote: > 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 >