version 1.19, 2014/04/27 16:26:45
|
version 1.22.2.1, 2015/07/19 23:54:48
|
Line 12 terms:
|
Line 12 terms:
|
All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
|
|
Copyright 2004 - 2014 | Copyright 2004 - 2015 |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
|
|
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
Line 148 rpcServerShutdown(RPC_CALL_STDARGS)
|
Line 148 rpcServerShutdown(RPC_CALL_STDARGS)
|
RPC_CALLBACK_CHECK_INPUT(cli); |
RPC_CALLBACK_CHECK_INPUT(cli); |
srv = RPC_SRV_SERVER(cli); |
srv = RPC_SRV_SERVER(cli); |
|
|
rpc_freeCli(cli); |
|
|
|
srv->srv_kill = 1; |
|
if (srv->srv_blob.tid) |
if (srv->srv_blob.tid) |
pthread_kill(srv->srv_blob.tid, SIGFBLOB); |
pthread_kill(srv->srv_blob.tid, SIGFBLOB); |
|
while (srv->srv_blob.root) { |
|
srv->srv_blob.kill = 1; |
|
usleep(1000); |
|
} |
|
srv->srv_kill = 1; |
return 0; |
return 0; |
} |
} |
|
|