lkml.org 
[lkml]   [2005]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC: 2.6 patch] kernel/sched.c: remove two unused functions
Adrian Bunk <bunk@stusta.de> wrote:
>
> This patch removes the unused functions wait_for_completion_timeout and
> wait_for_completion_interruptible_timeout.
>
> Is any usage for them planned or is this patch OK?
>

From the changelog for the patch which added these functions:



Adds 3 new completion API calls, which are a straightforward extension of
the current APIs:

int wait_for_completion_interruptible(struct completion *x);
unsigned long wait_for_completion_timeout(struct completion *x,
unsigned long timeout);
unsigned long wait_for_completion_interruptible_timeout(
struct completion *x, unsigned long timeout);

This enables the conversion of more semaphore-using code to completions.
There is code that cannot be converted right now (and is forced to use
semaphores) because these primitives are missing. Thomas Gleixner has a
bunch of patches to make use of them.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-14 07:39    [from the cache]
©2003-2011 Jasper Spaans