aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-07-03 09:30:07 -0400
committerThomas Gleixner <tglx@linutronix.de>2009-07-29 17:30:38 -0400
commite9888fb95225bb3b786d79fd983eb67e1acad338 (patch)
treed09bc138fec534e17b57a559f36a5d8c7e49973f /include/linux/workqueue.h
parent94b3cbf2548a023b4187e252043eac367f84740c (diff)
rt: core implementation
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r--include/linux/workqueue.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 13e1adf55c4c..3f363b7168c4 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -195,6 +195,9 @@ __create_workqueue_key(const char *name, int singlethread,
195#define create_freezeable_workqueue(name) __create_workqueue((name), 1, 1, 0) 195#define create_freezeable_workqueue(name) __create_workqueue((name), 1, 1, 0)
196#define create_singlethread_workqueue(name) __create_workqueue((name), 1, 0, 0) 196#define create_singlethread_workqueue(name) __create_workqueue((name), 1, 0, 0)
197 197
198extern void set_workqueue_prio(struct workqueue_struct *wq, int policy,
199 int rt_priority, int nice);
200
198extern void destroy_workqueue(struct workqueue_struct *wq); 201extern void destroy_workqueue(struct workqueue_struct *wq);
199 202
200extern int queue_work(struct workqueue_struct *wq, struct work_struct *work); 203extern int queue_work(struct workqueue_struct *wq, struct work_struct *work);