summaryrefslogtreecommitdiff
path: root/lib/workqueue.h
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-06-08 17:49:09 -0700
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-06-08 17:49:09 -0700
commitb7b71de5fe090dbc85616a424d5613e75ba8c8b7 (patch)
treed030e983dea860e8ea80bb72f10908af11ca0d9d /lib/workqueue.h
parent5d1a88075a408acec53cb9b027e9955150581a0e (diff)
parent4f87aceb78dcec9a88860d92c3657fcbeb46e845 (diff)
Merge branch 'cmaster-next' of ssh://stash.cumulusnetworks.com:7999/quag/quagga into cmaster-next
Diffstat (limited to 'lib/workqueue.h')
-rw-r--r--lib/workqueue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/workqueue.h b/lib/workqueue.h
index 7d9a877d10..19b44041d7 100644
--- a/lib/workqueue.h
+++ b/lib/workqueue.h
@@ -122,6 +122,8 @@ extern void work_queue_plug (struct work_queue *wq);
/* unplug the queue, allow it to be drained again */
extern void work_queue_unplug (struct work_queue *wq);
+bool work_queue_is_scheduled (struct work_queue *);
+
/* Helpers, exported for thread.c and command.c */
extern int work_queue_run (struct thread *);
extern struct cmd_element show_work_queues_cmd;