[lkml]   [2005]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC: 2.6 patch] kernel/sched.c: remove two unused functions
    Adrian Bunk <> 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
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-05-14 07:39    [W:0.044 / U:41.164 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site