diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-06-09 10:17:24 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-09 10:17:24 +0300 |
| commit | 121903bd01020a24df9c4679dd0b9ab2853a234b (patch) | |
| tree | 414071ab65b8d302f66533b4b8a7de338d9eed6f /lib/workqueue.h | |
| parent | 71da1da0c851739b5e4d1caee9baa8f41fb0b7ca (diff) | |
| parent | 2d4093ee303212f35a6f8c09acfddb850f2b1c80 (diff) | |
Merge pull request #11370 from donaldsharp/lib_zebra_cleanup
Lib zebra cleanup
Diffstat (limited to 'lib/workqueue.h')
| -rw-r--r-- | lib/workqueue.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/workqueue.h b/lib/workqueue.h index 39202dcda7..27fb1383eb 100644 --- a/lib/workqueue.h +++ b/lib/workqueue.h @@ -157,7 +157,8 @@ static inline void work_queue_item_dequeue(struct work_queue *wq, * user must fill in the spec of the returned work queue before adding * anything to it */ -extern struct work_queue *work_queue_new(struct thread_master *, const char *); +extern struct work_queue *work_queue_new(struct thread_master *m, + const char *queue_name); /* destroy work queue */ /* @@ -174,10 +175,10 @@ 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 *); +bool work_queue_is_scheduled(struct work_queue *wq); /* Helpers, exported for thread.c and command.c */ -extern void work_queue_run(struct thread *); +extern void work_queue_run(struct thread *thread); extern void workqueue_cmd_init(void); |
