version 1.1.1.1.2.3, 2011/08/13 17:26:26
|
version 1.1.1.1.2.4, 2011/08/13 17:28:17
|
Line 375 schedRun(sched_root_task_t * __restrict root)
|
Line 375 schedRun(sched_root_task_t * __restrict root)
|
if (root->root_hooks.hook_exec.run(root, NULL)) |
if (root->root_hooks.hook_exec.run(root, NULL)) |
return -1; |
return -1; |
if (root->root_hooks.hook_exec.fetch) |
if (root->root_hooks.hook_exec.fetch) |
while ((task = root->root_hooks.hook_exec.fetch(root, NULL))) { | while ((task = root->root_hooks.hook_exec.fetch(root, NULL))) |
printf("task=%p\n", task); | |
schedCall(task); |
schedCall(task); |
} |
|
|
|
return 0; |
return 0; |
} |
} |