version 1.1.2.1, 2012/05/10 14:30:31
|
version 1.1.2.3, 2012/05/10 14:45:50
|
Line 3
|
Line 3
|
#include <fcntl.h> |
#include <fcntl.h> |
#include <sys/types.h> |
#include <sys/types.h> |
#include <sys/stat.h> |
#include <sys/stat.h> |
#include <sys/socket.h> | #include <sys/signal.h> |
#include <netinet/in.h> |
#include <netinet/in.h> |
#include <aitsched.h> |
#include <aitsched.h> |
|
|
Line 47 main(int argc, char **argv)
|
Line 47 main(int argc, char **argv)
|
{ |
{ |
sched_root_task_t *root; |
sched_root_task_t *root; |
struct timespec ts = { 20, 0 }; |
struct timespec ts = { 20, 0 }; |
struct timespec p = { 0, 10000000 }; | // struct timespec p = { 0, 10000000 }; |
|
|
signal(SIGTERM, sig); |
signal(SIGTERM, sig); |
|
|
Line 85 main(int argc, char **argv)
|
Line 85 main(int argc, char **argv)
|
|
|
schedCallOnce(root, once, "000000", 42, NULL, 0); |
schedCallOnce(root, once, "000000", 42, NULL, 0); |
|
|
schedPolling(root, &p, NULL); | // schedPolling(root, &p, NULL); |
schedRun(root, &Kill); |
schedRun(root, &Kill); |
schedEnd(&root); |
schedEnd(&root); |
return 0; |
return 0; |