From owner-cvs-src-old@FreeBSD.ORG Wed Oct 27 04:19:27 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 120481065670 for ; Wed, 27 Oct 2010 04:19:27 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D9DD18FC1A for ; Wed, 27 Oct 2010 04:19:26 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o9R4JQsl074941 for ; Wed, 27 Oct 2010 04:19:26 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o9R4JQDg074940 for cvs-src-old@freebsd.org; Wed, 27 Oct 2010 04:19:26 GMT (envelope-from davidxu@repoman.freebsd.org) Message-Id: <201010270419.o9R4JQDg074940@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to davidxu@repoman.freebsd.org using -f From: David Xu Date: Wed, 27 Oct 2010 04:19:07 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libthr/thread thr_mutex.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2010 04:19:27 -0000 davidxu 2010-10-27 04:19:07 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_mutex.c Log: SVN rev 214410 on 2010-10-27 04:19:07Z by davidxu Remove locking and unlock in pthread_mutex_destroy, because it can not fix race condition in application code, as a result, the problem described in PR threads/151767 is avoided. Revision Changes Path 1.79 +2 -25 src/lib/libthr/thread/thr_mutex.c