--- libaitsched/example/Attic/test.c 2011/09/09 14:14:33 1.1.2.3 +++ libaitsched/example/Attic/test.c 2011/09/09 14:47:41 1.1.2.4 @@ -7,37 +7,37 @@ #include #include -void *event(void *arg) +void *event(sched_task_t *arg) { printf("Event::\n"); return NULL; } -void *eventlo(void *arg) +void *eventlo(sched_task_t *arg) { printf("EventLOW::\n"); return NULL; } -void *timer(void *arg) +void *timer(sched_task_t *arg) { printf("Timer 10sec::\n"); return NULL; } -void *r(void *arg) +void *r(sched_task_t *arg) { printf("read::\n"); return NULL; } -void *w(void *arg) +void *w(sched_task_t *arg) { printf("write::\n"); return NULL; } -void *once(void *arg) +void *once(sched_task_t *arg) { printf("once::\n"); return NULL; @@ -93,7 +93,7 @@ main(int argc, char **argv) schedCallOnce(root, once, "000000", 42); - schedRun(root); + schedRun(root, NULL); schedEnd(&root); close(f);