Date: Wed, 22 Feb 2006 12:58:11 -0800 (PST) From: Jeff Roberson <jroberson@chesapeake.net> To: Colin Percival <cperciva@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, John Baldwin <jhb@FreeBSD.org> Subject: Re: cvs commit: src/sys/kern kern_synch.c Message-ID: <20060222125723.P557@10.0.0.1> In-Reply-To: <43FCCEBA.5060309@freebsd.org> References: <200602222046.k1MKkBgI077922@repoman.freebsd.org> <43FCCEBA.5060309@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060222125723.P557>