#include #include void *event(void *arg) { return NULL; } int main(int argc, char **argv) { sched_root_task_t *root; root = schedBegin(); if (!root) { printf("Error:: #%d - %s\n", sched_GetErrno(), sched_GetError()); return 1; } if (!schedEvent(root, event, "piuk", 1234)) { printf("Error:: #%d - %s\n", sched_GetErrno(), sched_GetError()); return 2; } schedEnd(root); return 0; }