Subversion Repositories Kolibri OS

Rev

Rev 6934 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6934 Rev 7143
Line 9... Line 9...
9
#include 
9
#include 
10
#include 
10
#include 
11
#include 
11
#include 
12
#include 
12
#include 
13
#include 
13
#include 
14
#include 
14
#include 
Line 15... Line 15...
15
 
15
 
Line 16... Line 16...
16
struct workqueue_struct;
16
struct workqueue_struct;
17
 
17
 
Line 237... Line 237...
237
 */
237
 */
238
#define alloc_ordered_workqueue(fmt, flags, args...)			\
238
#define alloc_ordered_workqueue(fmt, flags, args...)			\
239
	alloc_workqueue(fmt, WQ_UNBOUND | __WQ_ORDERED | (flags), 1, ##args)
239
	alloc_workqueue(fmt, WQ_UNBOUND | __WQ_ORDERED | (flags), 1, ##args)
Line 240... Line 240...
240
 
240
 
241
bool queue_work(struct workqueue_struct *wq, struct work_struct *work);
241
bool queue_work(struct workqueue_struct *wq, struct work_struct *work);
242
int queue_delayed_work(struct workqueue_struct *wq,
242
bool queue_delayed_work(struct workqueue_struct *wq,
-
 
243
                        struct delayed_work *dwork, unsigned long delay);
-
 
244
extern bool cancel_work_sync(struct work_struct *work);
-
 
245
extern bool cancel_delayed_work(struct delayed_work *dwork);
-
 
246
extern bool cancel_delayed_work_sync(struct delayed_work *dwork);
Line 243... Line 247...
243
                        struct delayed_work *dwork, unsigned long delay);
247
 
-
 
248
 
-
 
249
bool schedule_delayed_work(struct delayed_work *dwork, unsigned long delay);
-
 
250
static inline bool mod_delayed_work(struct workqueue_struct *wq,
-
 
251
				    struct delayed_work *dwork,
-
 
252
				    unsigned long delay)
-
 
253
{
Line 244... Line 254...
244
 
254
	return queue_delayed_work(wq, dwork, delay);
245
bool schedule_delayed_work(struct delayed_work *dwork, unsigned long delay);
255
}
246
 
256