Mercurial > hg > Members > tkaito > task_dandy
annotate ppe/PadFree.cc @ 27:34fde39c0a31
commit test.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 10 Dec 2010 02:57:29 +0900 |
parents | aa37f220b7a8 |
children |
rev | line source |
---|---|
25 | 1 #include <stdio.h> |
2 #include <string.h> | |
3 #include "PadFree.h" | |
4 #include "Func.h" | |
5 | |
6 /* これは必須 */ | |
7 SchedDefineTask(PadFree); | |
8 | |
9 static int | |
10 run(SchedTask *s, void *rbuf, void *wbuf) | |
11 { | |
12 | |
13 int pad_id = (int)s->get_param(0); | |
27 | 14 |
25 | 15 s->global_free(pad_id); |
27 | 16 |
25 | 17 return 0; |
18 } | |
19 |