diff options
| author | riastradh <riastradh@NetBSD.org> | 2021-12-19 01:03:57 +0000 |
|---|---|---|
| committer | riastradh <riastradh@NetBSD.org> | 2021-12-19 01:03:57 +0000 |
| commit | dc2cdb28140a60a366ebcfbf9a40d14a741f163a (patch) | |
| tree | f2b2a0a1ed353a68e5068e97ef5d854077c5f9f1 /sys/external/bsd/common/include/linux | |
| parent | b8227669ffa0652eb6ef226a5a736100eb778fd8 (diff) | |
Implement return value of flush_work, flush_delayed_work.
Diffstat (limited to 'sys/external/bsd/common/include/linux')
| -rw-r--r-- | sys/external/bsd/common/include/linux/workqueue.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/external/bsd/common/include/linux/workqueue.h b/sys/external/bsd/common/include/linux/workqueue.h index 000f08a118a..1027f8c1c40 100644 --- a/sys/external/bsd/common/include/linux/workqueue.h +++ b/sys/external/bsd/common/include/linux/workqueue.h @@ -1,4 +1,4 @@ -/* $NetBSD: workqueue.h,v 1.15 2021/12/19 01:03:50 riastradh Exp $ */ +/* $NetBSD: workqueue.h,v 1.16 2021/12/19 01:03:57 riastradh Exp $ */ /*- * Copyright (c) 2013, 2018 The NetBSD Foundation, Inc. @@ -110,7 +110,7 @@ bool schedule_work(struct work_struct *); bool queue_work(struct workqueue_struct *, struct work_struct *); bool cancel_work(struct work_struct *); bool cancel_work_sync(struct work_struct *); -void flush_work(struct work_struct *); +bool flush_work(struct work_struct *); void INIT_DELAYED_WORK(struct delayed_work *, void (*)(struct work_struct *)); @@ -121,7 +121,7 @@ bool mod_delayed_work(struct workqueue_struct *, struct delayed_work *, unsigned long ticks); bool cancel_delayed_work(struct delayed_work *); bool cancel_delayed_work_sync(struct delayed_work *); -void flush_delayed_work(struct delayed_work *); +bool flush_delayed_work(struct delayed_work *); struct work_struct * current_work(void); |
