lkml.org 
[lkml]   [2002]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] POSIX message queues, 2.5.50
    On Sun, Dec 01, 2002 at 11:33:11AM +0100, Manfred Spraul wrote:
    > - why do you use __add_wait_queue in wq_sleep_on()? It seems you have
    > copied that code from kernel/sched.c - it's not needed. It was needed for
    >
    > cli()
    > if(condition_var==0)
    > sleep_on(&my_queue);

    Do we have to encourage this abonimation? We do have wait_event().

    --
    Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
    http://www.arm.linux.org.uk/personal/aboutme.html

    -
    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-03-22 13:31    [W:0.041 / U:1.376 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site