From owner-cvs-src@FreeBSD.ORG Mon Feb 4 13:11:15 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F6EE16A418 for ; Mon, 4 Feb 2008 13:11:15 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.187]) by mx1.freebsd.org (Postfix) with ESMTP id 1349213C4D1 for ; Mon, 4 Feb 2008 13:11:14 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so1295594mue.6 for ; Mon, 04 Feb 2008 05:11:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=1dtnTlfTJP3zGarrGoeGMLxQW9xb/LJFB+8rIXxs3Y8=; b=hS/yb4WBaYQi+/jCybah33o7SPahpfm8PNO+qFSvuzPcyHMvgyZSRExXiWmdpYqaGQfvpp9CS6ssB6Yx4IU+jIqY+A7DFfC4esNgyF6AWj8m7wUAGKOwO28MrKucISnnzaN+x+FscE69mp7s0csKfj4WDAPGsPdVSBwvta7Bfsg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=COOzfvKs48eZGfFGAfwFrZYrd3ESp3aEYFaEBjwubLOJYI9zNHFBxNzO1/92bCKaas+RwtfmM6AC7VO45bHF8m+XwlgAeZc0nInrP36yZ0+RmSHUC/3UBSR0eYsXHANEHn01o/A6R1THG3VVNeAyuHqXRjL81VP3YDSM8bgrbDk= Received: by 10.86.90.2 with SMTP id n2mr6576442fgb.66.1202130672937; Mon, 04 Feb 2008 05:11:12 -0800 (PST) Received: by 10.86.28.19 with HTTP; Mon, 4 Feb 2008 05:11:12 -0800 (PST) Message-ID: <3bbf2fe10802040511y529936d9m6cd14f4ca48f8936@mail.gmail.com> Date: Mon, 4 Feb 2008 14:11:12 +0100 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Dag-Erling Smorgrav" In-Reply-To: <200802041235.m14CZND0067121@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200802041235.m14CZND0067121@repoman.freebsd.org> X-Google-Sender-Auth: 76941b99a620ca5c Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/tools/regression/pthread/mutex_islocked_np mutex_islocked_np.c src/lib/libthr/thread thr_mutex.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: Mon, 04 Feb 2008 13:11:15 -0000 2008/2/4, Dag-Erling Smorgrav : > des 2008-02-04 12:35:23 UTC > > FreeBSD src repository > > Modified files: > tools/regression/pthread/mutex_islocked_np mutex_islocked_np.c > lib/libthr/thread thr_mutex.c > Log: > After careful consideration (and a brief discussion with attilio@), change > the semantics of pthread_mutex_islocked_np() to return true if and only if > the mutex is held by the current thread. > > Obviously, change the regression test to match. Great, thanks! Attilio -- Peace can only be achieved by understanding - A. Einstein