42
|
1 #ifndef INCLUDED_SCHED_NOP2READY
|
|
2 #define INCLUDED_SCHED_NOP2READY
|
|
3
|
307
|
4 #include "base.h"
|
|
5 #include "Scheduler.h"
|
|
6 #include "SchedTaskBase.h"
|
|
7 #include "SchedNop.h"
|
42
|
8
|
|
9 #include "error.h"
|
|
10
|
|
11 class SchedNop2Ready : public SchedNop {
|
|
12 public:
|
|
13 /* constructor */
|
109
|
14 SchedNop2Ready(Scheduler*);
|
|
15
|
|
16 BASE_NEW_DELETE(SchedNop2Ready);
|
42
|
17
|
|
18 /* variables */
|
109
|
19 Scheduler* scheduler;
|
42
|
20
|
|
21 /* functions */
|
|
22 void exec(void);
|
|
23 SchedTaskBase* next(Scheduler *, SchedTaskBase *);
|
|
24
|
|
25 #if DEBUG
|
|
26 void read(void) { __debug("[SchedNop2Ready:%s]\n", __FUNCTION__); }
|
|
27 void write(void) { __debug("[SchedNop2Ready:%s]\n", __FUNCTION__); }
|
|
28 #endif
|
|
29 };
|
|
30
|
|
31 #endif
|