cvs commit: src/sys/kern kern_synch.c

John Baldwin jhb at freebsd.org
Wed Feb 22 13:21:34 PST 2006


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 at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the cvs-src mailing list