From owner-cvs-all@FreeBSD.ORG Fri Mar 26 06:47:56 2004 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 B240F16A4F1; Fri, 26 Mar 2004 06:47:54 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9715343D39; Fri, 26 Mar 2004 06:47:54 -0800 (PST) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i2QElsGe099429; Fri, 26 Mar 2004 06:47:54 -0800 (PST) (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i2QElsgW099428; Fri, 26 Mar 2004 06:47:54 -0800 (PST) (envelope-from mtm) Message-Id: <200403261447.i2QElsgW099428@repoman.freebsd.org> From: Mike Makonnen Date: Fri, 26 Mar 2004 06:47:54 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libthr/thread thr_mutex.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, 26 Mar 2004 14:47:56 -0000 mtm 2004/03/26 06:47:54 PST FreeBSD src repository Modified files: lib/libthr/thread thr_mutex.c Log: o The mutex locking functions aren't normally cancellation points. But, we still have to DTRT when an asynchronously cancellable thread is cancelled while waiting for a mutex. o While dequeueing a waiting mutex don't skip a thread if it has a cancel pending. Only skip it if it is also async cancellable. Revision Changes Path 1.23 +12 -3 src/lib/libthr/thread/thr_mutex.c