From owner-cvs-src@FreeBSD.ORG Tue Jul 25 12:50:06 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 3A40E16A4DD; Tue, 25 Jul 2006 12:50:06 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBB7E43D4C; Tue, 25 Jul 2006 12:50:05 +0000 (GMT) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6PCo5AK053926; Tue, 25 Jul 2006 12:50:05 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6PCo5Yp053925; Tue, 25 Jul 2006 12:50:05 GMT (envelope-from davidxu) Message-Id: <200607251250.k6PCo5Yp053925@repoman.freebsd.org> From: David Xu Date: Tue, 25 Jul 2006 12:50:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libthr pthread.map src/lib/libthr/thread thr_init.c thr_sig.c thr_syscalls.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 25 Jul 2006 12:50:06 -0000 davidxu 2006-07-25 12:50:05 UTC FreeBSD src repository Modified files: lib/libthr pthread.map lib/libthr/thread thr_init.c thr_sig.c thr_syscalls.c Log: 1. Don't override underscore version of aio_suspend(), system(), wait(), waitpid() and usleep(), they are internal versions and should not be cancellation points. 2. Make wait3() as a cancellation point. 3. Move raise() and pause() into file thr_sig.c. 4. Add functions _sigsuspend, _sigwait, _sigtimedwait and _sigwaitinfo, remove SIGCANCEL bit in wait-set for those functions, the signal is used internally to implement thread cancellation. Revision Changes Path 1.16 +22 -22 src/lib/libthr/pthread.map 1.37 +17 -17 src/lib/libthr/thread/thr_init.c 1.19 +107 -1 src/lib/libthr/thread/thr_sig.c 1.14 +45 -60 src/lib/libthr/thread/thr_syscalls.c