|
|
| version 1.4.2.2, 2012/01/08 02:52:29 | version 1.4.2.4, 2012/01/23 10:09:07 |
|---|---|
| Line 51 SUCH DAMAGE. | Line 51 SUCH DAMAGE. |
| #include <sys/queue.h> | #include <sys/queue.h> |
| #include <sys/uio.h> | #include <sys/uio.h> |
| #include <stdint.h> | #include <stdint.h> |
| #include <pthread.h> | |
| /* criteria type */ | /* criteria type */ |
| Line 149 struct sched_Task { | Line 150 struct sched_Task { |
| TAILQ_ENTRY(sched_Task) task_node; | TAILQ_ENTRY(sched_Task) task_node; |
| }; | }; |
| typedef TAILQ_HEAD(, sched_Task) sched_queue_t; | typedef TAILQ_HEAD(, sched_Task) sched_queue_t; |
| #define TASK_DATA_SET(x, _dp, _dl) do { \ | |
| if ((x)) { \ | |
| (x)->task_data.iov_base = (_dp); \ | |
| (x)->task_data.iov_len = _dl; \ | |
| } \ | |
| while (0) | |
| /* root task */ | /* root task */ |
| struct sched_RootTask { | struct sched_RootTask { |