|
|
@ -1888,7 +1888,7 @@ int main(int argc, char **argv) |
|
|
|
ckp.maxclients = ret * 9 / 10; |
|
|
|
ckp.maxclients = ret * 9 / 10; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
ckp.ckpapi = create_ckmsgq(&ckp, "api", &ckpool_api); |
|
|
|
// ckp.ckpapi = create_ckmsgq(&ckp, "api", &ckpool_api);
|
|
|
|
create_pthread(&ckp.pth_listener, listener, &ckp.main); |
|
|
|
create_pthread(&ckp.pth_listener, listener, &ckp.main); |
|
|
|
|
|
|
|
|
|
|
|
handler.sa_handler = &sighandler; |
|
|
|
handler.sa_handler = &sighandler; |
|
|
|