lkml.org 
[lkml]   [2008]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Replace completions with semaphores
Date
Bart Van Assche <bart.vanassche@gmail.com> wrote:
> On Mon, Apr 14, 2008 at 9:16 PM, Andi Kleen <andi@firstfloor.org> 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?



\
 
 \ /
  Last update: 2008-04-16 12:27    [W:0.037 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site