Mercurial > hg > CbC > old > DPP
comparison dpp2.h @ 0:d4bc23cb728b
Import from CVS (CVS_DB/member/atsuki/cbc/DPP)
author | Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 16 Dec 2015 15:16:11 +0900 |
parents | |
children | b15128ab0324 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d4bc23cb728b |
---|---|
1 #ifndef _DPP2_H_ | |
2 #define _DPP2_H_ | |
3 #define NULL (0) | |
4 | |
5 #include "dpp_common.h" | |
6 | |
7 extern code putdown_lfork(PhilsPtr self, struct task * current_task); | |
8 extern code putdown_rfork(PhilsPtr self, struct task * current_task); | |
9 extern code eating(PhilsPtr self, struct task * current_task); | |
10 extern code hungry2(PhilsPtr self, struct task * current_task); | |
11 extern code hungry1(PhilsPtr self, struct task * current_task); | |
12 extern code pickup_rfork(PhilsPtr self, struct task * current_task); | |
13 extern code pickup_lfork(PhilsPtr self, struct task * current_task); | |
14 extern code thinking(PhilsPtr self, struct task * current_task); | |
15 | |
16 #endif |