cvs commit: src/sys/kern kern_synch.c

Jeff Roberson jroberson at chesapeake.net
Wed Feb 22 12:59:37 PST 2006


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.

>
> Colin Percival
>


More information about the cvs-src mailing list