From owner-cvs-src@FreeBSD.ORG Sun Jun 15 05:58:22 2003 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 E8C9F37B401; Sun, 15 Jun 2003 05:58:22 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EACB843F93; Sun, 15 Jun 2003 05:58:20 -0700 (PDT) (envelope-from davidxu@freebsd.org) Received: from tiger (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with SMTP id h5FCwHUp068376; Sun, 15 Jun 2003 05:58:18 -0700 (PDT) (envelope-from davidxu@freebsd.org) Message-ID: <000901c3333e$3e804b10$0701a8c0@tiger> From: "David Xu" To: , , References: <200306151251.h5FCpQZJ002962@repoman.freebsd.org> Date: Sun, 15 Jun 2003 21:01:28 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: Re: cvs commit: src/sys/sys kse.h src/sys/kern kern_sig.c kern_thread.c subr_trap.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Xu List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2003 12:58:23 -0000 ----- Original Message -----=20 From: "David Xu" To: ; ; = Sent: Sunday, June 15, 2003 8:51 PM Subject: cvs commit: src/sys/sys kse.h src/sys/kern kern_sig.c = kern_thread.c subr_trap.c > davidxu 2003/06/15 05:51:26 PDT >=20 > FreeBSD src repository >=20 > Modified files: > sys/sys kse.h=20 > sys/kern kern_sig.c kern_thread.c subr_trap.c=20 > Log: > 1. Add code to support bound thread. when blocked, a bound thread = never > schedules an upcall. Signal delivering to a bound thread is same = as > non-threaded process. This is intended to be used by libpthread = to > implement PTHREAD_SCOPE_SYSTEM thread. > 2. Simplify kse_release() a bit, remove sleep loop. > =20 > Revision Changes Path > 1.243 +1 -1 src/sys/kern/kern_sig.c > 1.142 +63 -55 src/sys/kern/kern_thread.c > 1.257 +1 -1 src/sys/kern/subr_trap.c > 1.15 +1 -0 src/sys/sys/kse.h >=20 Patch for libpthread to test bound thread is here: http://people.freebsd.org/~davidxu/libpthread_bound.diff Don't expect signal will work, it still needs to be addressed. I have kernel side code and libpthread signal code here, but not fully workable. David Xu