6 extern void enter_shell_loop(int tsocki
, int tsocko
);
7 extern void *engine_main(void *arg
);
10 static struct pipepair pp
;
12 static void start_server(int usocki
, int usocko
)
16 int ret
= pthread_create(&tid
, NULL
, engine_main
, &pp
);
18 panic("Cannot create server thread!\n");
28 panic("Cannot create event fd!\n");
31 panic("Cannot create event fd!\n");
33 start_server(efd
[0], refd
[1]);
34 enter_shell_loop(refd
[0], efd
[1]);