Re: [PATCH 1/19] MUTEX: Introduce simple mutex implementation

Andrew Morton
2005-12-15T19:21:15Z

Linus Torvalds <torvalds@osdl.org> wrote:
>
> On Thu, 15 Dec 2005, David Howells wrote:
> >
> > FROM TO
> > ============================== =========================
> > DECLARE_MUTEX DECLARE_SEM_MUTEX
> > DECLARE_MUTEX_LOCKED DECLARE_SEM_MUTEX_LOCKED
> > Proper counting semaphore DECLARE_SEM
>
> That sounds fine.

They should be renamed to DEFINE_* while we're there. A "declaration" is
"this thing is defined somewhere else". A "definition" is "this thing is
defined here".

> I wouldn't be adverse to doing that

argh.