Re: [PATCH -mm 1/5] list.h: add list_singleton

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Monday, March 17, 2008 - 8:13 am

On Mon, 2008-03-17 at 11:04 -0400, Masami Hiramatsu wrote:

I think list_has_one() or list_is_singular() are good names, they convey
they are a test for a condition by using a form of be.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH -mm 1/5] list.h: add list_singleton, Masami Hiramatsu, (Fri Mar 14, 1:40 pm)
Re: [PATCH -mm 1/5] list.h: add list_singleton, Andrew Morton, (Fri Mar 14, 2:00 pm)
Re: [PATCH -mm 1/5] list.h: add list_singleton, Masami Hiramatsu, (Fri Mar 14, 3:22 pm)
Re: [PATCH -mm 1/5] list.h: add list_singleton, Peter Zijlstra, (Sat Mar 15, 3:36 pm)
Re: [PATCH -mm 1/5] list.h: add list_singleton, Masami Hiramatsu, (Mon Mar 17, 8:04 am)
Re: [PATCH -mm 1/5] list.h: add list_singleton, Peter Zijlstra, (Mon Mar 17, 8:13 am)
[PATCH -mm] list.h: rename list_singleton to list_is_singular, Masami Hiramatsu, (Mon Mar 17, 1:52 pm)