|
|
| version 1.2, 2015/01/21 21:17:05 | version 1.3.8.1, 2024/03/20 17:10:50 |
|---|---|
| Line 1 | Line 1 |
| #include <stdio.h> | #include <stdio.h> |
| #include <unistd.h> | #include <unistd.h> |
| #include <string.h> | |
| #include <errno.h> | |
| #include <pthread.h> | #include <pthread.h> |
| #include <sys/wait.h> | #include <sys/wait.h> |
| #include <aitrpc.h> | #include <aitrpc.h> |
| Line 160 int main(int argc, char **argv) | Line 162 int main(int argc, char **argv) |
| rpc_register_srvServices(srv); | rpc_register_srvServices(srv); |
| rpc_srv_DispatchSignal(srv, 42); | |
| rpc_srv_loopServer(srv); | rpc_srv_loopServer(srv); |
| rpc_srv_DispatchSignal(srv, 0); | |
| rpc_srv_endServer(&srv); | rpc_srv_endServer(&srv); |
| close(fds[1]); | close(fds[1]); |
| wait(&ret); | wait(&ret); |