From owner-cvs-src@FreeBSD.ORG Fri Nov 24 09:57:38 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD71016A407; Fri, 24 Nov 2006 09:57:38 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46D8D43D46; Fri, 24 Nov 2006 09:56:58 +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 kAO9vcPO089780; Fri, 24 Nov 2006 09:57:38 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kAO9vc6Q089779; Fri, 24 Nov 2006 09:57:38 GMT (envelope-from davidxu) Message-Id: <200611240957.kAO9vc6Q089779@repoman.freebsd.org> From: David Xu Date: Fri, 24 Nov 2006 09:57:38 +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/thread thr_cancel.c thr_cond.c thr_create.c thr_exit.c thr_fork.c thr_init.c thr_join.c thr_list.c thr_private.h thr_sem.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: Fri, 24 Nov 2006 09:57:39 -0000 davidxu 2006-11-24 09:57:38 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_cancel.c thr_cond.c thr_create.c thr_exit.c thr_fork.c thr_init.c thr_join.c thr_list.c thr_private.h thr_sem.c thr_sig.c thr_syscalls.c Log: Eliminate atomic operations in thread cancellation functions, it should reduce overheads of cancellation points. Revision Changes Path 1.14 +62 -68 src/lib/libthr/thread/thr_cancel.c 1.20 +2 -3 src/lib/libthr/thread/thr_cond.c 1.35 +2 -2 src/lib/libthr/thread/thr_create.c 1.22 +2 -2 src/lib/libthr/thread/thr_exit.c 1.7 +1 -1 src/lib/libthr/thread/thr_fork.c 1.42 +2 -1 src/lib/libthr/thread/thr_init.c 1.22 +2 -3 src/lib/libthr/thread/thr_join.c 1.11 +3 -1 src/lib/libthr/thread/thr_list.c 1.73 +22 -18 src/lib/libthr/thread/thr_private.h 1.9 +10 -10 src/lib/libthr/thread/thr_sem.c 1.21 +11 -18 src/lib/libthr/thread/thr_sig.c 1.15 +58 -87 src/lib/libthr/thread/thr_syscalls.c