Re: [PATCH] Replace completions with semaphores

From: Bodo Eggert
Date: Wed Apr 16 2008 - 06:24:25 EST


Bart Van Assche <bart.vanassche@xxxxxxxxx> wrote:
> On Mon, Apr 14, 2008 at 9:16 PM, Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

>> For me it sounds like you just want to rename semaphores to some other
>> name that people don't use them for normal locking?
>
> Would it really be a good idea to give a synchronization concept that
> behaves exactly like a semaphore another name than "semaphore" ? The
> semaphore concept is well known and is taught in every computer
> science course.

What about calling it counting_semaphore, if it's to be used for this purpose?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/