lkml.org 
[lkml]   [2009]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: Warn people about flush_scheduled_work()
    Date
    Am Montag, 14. Dezember 2009 22:33:38 schrieb Alan Stern:
    > Consider using cancel_work_sync() or cancel_delayed_work_sync()
    > instead. In most situations they will accomplish what you
    > need.

    In which respect is cancel_work_sync() fundamentally safer?
    If the work is already running and takes a lock you are holding,
    then what?

    Regards
    Oliver


    \
     
     \ /
      Last update: 2009-12-14 22:45    [W:0.020 / U:61.092 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site