Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2006 00:10:39 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=)
To:        Jeff Roberson <jroberson@chesapeake.net>
Cc:        cvs-all@FreeBSD.org, cvs-src@FreeBSD.org, src-committers@FreeBSD.org, John Baldwin <jhb@FreeBSD.org>, Colin Percival <cperciva@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/kern kern_synch.c
Message-ID:  <86zmkjq9ao.fsf@xps.des.no>
In-Reply-To: <20060222125723.P557@10.0.0.1> (Jeff Roberson's message of "Wed,  22 Feb 2006 12:58:11 -0800 (PST)")
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
Jeff Roberson <jroberson@chesapeake.net> writes:
> 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.

especially when "mtx_enter()" suggests the use of mutexes to protect
code, while the policy in FreeBSD is to use mutexes to protect data.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



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