lkml.org 
[lkml]   [2020]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] kthread_worker: Add flush delayed work func
    On Wed, 11 Nov 2020 17:13:55 +0800 qiang.zhang@windriver.com wrote:

    > Add 'kthread_flush_delayed_work' func, the principle of
    > this func is wait for a dwork to finish executing the
    > last queueing.

    We'd like to see some code which actually uses this new function
    please. Either in this patch or as one or more followup patches.

    btw, we call it "function", not "func". But neither is really needed -
    just use () to identify a function. ie:

    : Add kthread_flush_delayed_work(). The principle of this is to wait for
    : a dwork to finish executing the last queueing.

    \
     
     \ /
      Last update: 2020-11-13 01:02    [W:2.271 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site