Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2006 16:21:26 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Jeff Roberson <jroberson@chesapeake.net>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, Colin Percival <cperciva@freebsd.org>
Subject:   Re: cvs commit: src/sys/kern kern_synch.c
Message-ID:  <200602221621.30866.jhb@freebsd.org>
In-Reply-To: <20060222125723.P557@10.0.0.1>
References:  <200602222046.k1MKkBgI077922@repoman.freebsd.org> <43FCCEBA.5060309@freebsd.org> <20060222125723.P557@10.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 22 February 2006 15:58, Jeff Roberson wrote:
> On Wed, 22 Feb 2006, Colin Percival wrote:
> 
> > John Baldwin wrote:
> >>   Log:
> >>   Fixup some comments.  Mutexes's are locked, not entered for several years
> >
> > What's the difference?  I thought "lock a mutex", "enter a mutex", and "pick
> > up a lock" were all interchangeable.
> 
> The api used to be mtx_enter().  It's nice to have consistent comments so 
> we don't confuse new developers or non-native english speakers.

Exactly.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602221621.30866.jhb>