Subversion Repositories Kolibri OS

Rev

Rev 4125 | Rev 5272 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4125 Rev 5270
Line -... Line 1...
-
 
1
/*
-
 
2
 * workqueue.h --- work queue handling for Linux.
-
 
3
 */
-
 
4
 
1
#ifndef _LINUX_WORKQUEUE_H
5
#ifndef _LINUX_WORKQUEUE_H
2
#define _LINUX_WORKQUEUE_H
6
#define _LINUX_WORKQUEUE_H
Line 3... Line 7...
3
 
7
 
-
 
8
#include 
-
 
9
#include 
-
 
10
#include 
-
 
11
#include 
4
#include 
12
 
-
 
13
#include 
Line 5... Line 14...
5
#include 
14
struct workqueue_struct;
6
 
15
 
-
 
16
struct work_struct;
Line 7... Line 17...
7
struct work_struct;
17
typedef void (*work_func_t)(struct work_struct *work);
8
typedef void (*work_func_t)(struct work_struct *work);
18
void __stdcall delayed_work_timer_fn(unsigned long __data);
9
 
19
 
10
/*
20
/*
Line 36... Line 46...
36
 
46
 
37
struct work_struct {
47
struct work_struct {
38
    struct list_head entry;
48
    struct list_head entry;
39
    struct workqueue_struct *data;
49
    struct workqueue_struct *data;
-
 
50
    work_func_t func;
-
 
51
#ifdef CONFIG_LOCKDEP
-
 
52
	struct lockdep_map lockdep_map;
40
    work_func_t func;
53
#endif
Line 41... Line 54...
41
};
54
};
42
 
55
 
43
struct delayed_work {
56
struct delayed_work {