[lkml]   [2007]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subjectkernel/relay.c: a strange usage of delayed_work
    relay_switch_subbuf() does schedule_delayed_work(&buf->wake_readers, 1),
    wakeup_readers() only does wake_up_interruptible() and nothing more.

    Why can't we use a plain timer for this?

    In any case, this "wake_up ->read_wait after a minimal possible delay"
    looks somewhat strange to me, could you explain? just curious.


    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: 2007-05-03 23:41    [W:0.019 / U:11.360 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site