[lkml]   [2001]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: rw_semaphores

    At Mon, 9 Apr 2001 22:43:53 -0700 (PDT),
    Linus Torvalds wrote:

    > The ordering is certainly possible, but if it happens,
    > __down_read_failed() won't actually sleep, because it will notice that the
    > value is positive and just return immediately. So it will do some
    > unnecessary work (add itself to the wait-queue only to remove itself
    > immediately again), but it will do the right thing.
    > Linus

    I understand. Thank you.
    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-03-22 13:24    [W:0.020 / U:0.356 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site