diff options
author | Richard Braun <rbraun@sceen.net> | 2018-02-06 20:34:48 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-02-07 01:08:53 +0100 |
commit | 9d02354096ece1c4e0c91109a377d62f65f87b0e (patch) | |
tree | d802ae6dd26ba5f302a1020573c2842bbe754e5e /kern/work.h | |
parent | 2a15d5b978d7dcfd4b27a14e53d7288d71c9b518 (diff) |
kern/work: improve description of work_schedule
Diffstat (limited to 'kern/work.h')
-rw-r--r-- | kern/work.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kern/work.h b/kern/work.h index 68801c43..09aff389 100644 --- a/kern/work.h +++ b/kern/work.h @@ -131,6 +131,9 @@ work_init(struct work *work, work_fn_t fn) /* * Schedule work for deferred processing. * + * After being scheduled, a work queue must be reinitialized before + * it can be reused. + * * This function may be called from interrupt context. */ void work_schedule(struct work *work, int flags); |