lkml.org 
[lkml]   [1999]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subjectipc/msg.c: one more possible problems
    The freeque() implementation must wait until all waiting reader threads
    have left the kernel:
    > while (waitqueue_active(&msq->rwait) || waitqueue_active(&msq->wwait)) {
    > wake_up (&msq->rwait);
    > wake_up (&msq->wwait);
    > schedule();
    > }

    I've read that calling schedule() could lock up.
    What's the exact problem? (I read that it has something to to with
    SCHED_RR threads).

    --
    Manfred

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:54    [W:3.095 / U:0.956 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site