--- libaitsched/example/test.c 2011/10/04 12:34:33 1.2 +++ libaitsched/example/test.c 2011/12/08 09:18:25 1.3 @@ -52,6 +52,7 @@ main(int argc, char **argv) sched_root_task_t *root; int f; struct sockaddr_in sin; + struct timeval tv = { 10, 0 }; f = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); if (f == -1) @@ -79,7 +80,7 @@ main(int argc, char **argv) return 3; } - if (!schedTimer(root, timer, "blah", 10000000)) { + if (!schedTimer(root, timer, "blah", tv)) { printf("Error:: #%d - %s\n", sched_GetErrno(), sched_GetError()); return 4; }