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

_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to