Mercurial > hg > Game > Cerium
comparison TaskManager/Fifo/FifoTaskManagerImpl.h @ 647:7ba4ad4538b1 draft
MailManager rewrite. not yet worked.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 21 Nov 2009 16:18:47 +0900 |
parents | ecf056ddd21a |
children | 27fec8c70c9c |
comparison
equal
deleted
inserted
replaced
646:9f9390b45f78 | 647:7ba4ad4538b1 |
---|---|
21 /* functions */ | 21 /* functions */ |
22 // call by system | 22 // call by system |
23 void init(void); | 23 void init(void); |
24 void init(MainScheduler*, TaskManagerImpl*); | 24 void init(MainScheduler*, TaskManagerImpl*); |
25 void run(void); | 25 void run(void); |
26 void mail_check(MailQueuePtr mail_list); | 26 |
27 void mail_check(MailQueuePtr mail_list, HTaskInfo *waitQueue); | 27 void mail_check(); |
28 void mail_check(HTaskInfo *waitQueue); | |
29 | |
28 TaskListPtr get_runTaskList(void); | 30 TaskListPtr get_runTaskList(void); |
29 MailQueuePtr schedule(TaskListPtr); | 31 void schedule(TaskListPtr); |
30 | 32 |
31 // call by user | 33 // call by user |
32 int add_data(ListDataPtr, uint32, int); | 34 |
33 #if 0 | |
34 void* allocate(int size,int align); | |
35 void* allocate(int size); | |
36 Scheduler* get_scheduler(); | |
37 #endif | |
38 }; | 35 }; |
39 | 36 |
40 | 37 |
41 #endif /* INCLUDED_FIFO_TASK_MANAGER_IMPL */ | 38 #endif /* INCLUDED_FIFO_TASK_MANAGER_IMPL */ |