Changeset 598 for GPL/trunk/include/linux/workqueue.h
- Timestamp:
- Apr 3, 2017, 4:51:56 PM (8 years ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
-
Property svn:mergeinfo
set to
/GPL/branches/uniaud32-2.1.x merged eligible
-
Property svn:mergeinfo
set to
-
GPL/trunk/include/linux/workqueue.h
r587 r598 3 3 4 4 #include <linux/timer.h> 5 #include < compat_22.h>5 #include <sound/compat_22.h> 6 6 /* we know this is used below exactly once for at most one waiter */ 7 7 … … 33 33 int queue_work(struct workqueue_struct *wq, struct work_struct *work); 34 34 void flush_workqueue(struct workqueue_struct *wq); 35 int queue_delayed_work(struct workqueue_struct *wq, struct delayed_work *dwork, unsigned long delay); 36 int cancel_delayed_work(struct delayed_work *dwork); 35 37 36 38 #define INIT_WORK(_work, _func, _data) \ … … 54 56 #undef INIT_WORK 55 57 #define INIT_WORK(w,f) snd_INIT_WORK(w,f) 58 #define INIT_DELAYED_WORK(_work, _func) INIT_WORK(&(_work)->work, _func) 59 #define work_pending(work) test_bit(0, &(work)->pending) 60 #define delayed_work_pending(w) work_pending(&(w)->work) 61 #define schedule_delayed_work(work, delay) queue_delayed_work(NULL, (work), (delay)) 62 56 63 #define create_singlethread_workqueue(name) create_workqueue(name) 57 64 #define cancel_delayed_work_sync flush_delayed_work_sync 58 65 #endif /* __LINUX_WORKQUEUE_H */
Note:
See TracChangeset
for help on using the changeset viewer.