--- libaitrpc/src/builtin.c 2013/04/02 09:17:06 1.12.2.1 +++ libaitrpc/src/builtin.c 2013/07/16 13:04:20 1.15 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: builtin.c,v 1.12.2.1 2013/04/02 09:17:06 misho Exp $ +* $Id: builtin.c,v 1.15 2013/07/16 13:04:20 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -151,6 +151,8 @@ rpcServerShutdown(rpc_cli_t *cli, struct tagRPCCall *r rpc_freeCli(cli); srv->srv_kill = 1; + if (srv->srv_blob.tid) + pthread_kill(srv->srv_blob.tid, SIGFBLOB); return 0; } @@ -274,7 +276,7 @@ rpcBLOBServerClients(rpc_cli_t *cli, struct tagRPCCall * @srv = RPC server instance * return: -1 error or 0 ok */ -inline int +int rpc_register_srvPing(rpc_srv_t * __restrict srv) { if (!srv)