diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-07-03 09:30:07 -0400 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2009-07-29 17:30:38 -0400 |
| commit | e9888fb95225bb3b786d79fd983eb67e1acad338 (patch) | |
| tree | d09bc138fec534e17b57a559f36a5d8c7e49973f /include/linux/workqueue.h | |
| parent | 94b3cbf2548a023b4187e252043eac367f84740c (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.h | 3 |
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 | ||
| 198 | extern void set_workqueue_prio(struct workqueue_struct *wq, int policy, | ||
| 199 | int rt_priority, int nice); | ||
| 200 | |||
| 198 | extern void destroy_workqueue(struct workqueue_struct *wq); | 201 | extern void destroy_workqueue(struct workqueue_struct *wq); |
| 199 | 202 | ||
| 200 | extern int queue_work(struct workqueue_struct *wq, struct work_struct *work); | 203 | extern int queue_work(struct workqueue_struct *wq, struct work_struct *work); |
