--- libaitrpc/inc/aitrpc.h 2012/03/29 01:34:16 1.7 +++ libaitrpc/inc/aitrpc.h 2012/05/14 08:39:05 1.8 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitrpc.h,v 1.7 2012/03/29 01:34:16 misho Exp $ +* $Id: aitrpc.h,v 1.8 2012/05/14 08:39:05 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -178,6 +178,8 @@ typedef struct { int cli_sock; // socket fd pthread_t cli_tid; // TID of thread + cmd_type_t cli_kill; + void *cli_parent; // pointer to parent rpc_srv_t for server or to rpc_sess_t for client int cli_netbuf; // size of network buffer size } rpc_cli_t; @@ -203,7 +205,6 @@ typedef struct { rpc_func_t *srv_funcs; // registered functions list - pthread_mutex_t srv_mtx; cmd_type_t srv_kill; struct { @@ -214,8 +215,6 @@ typedef struct { rpc_cli_t *clients; // connected blob client sockets rpc_blob_t *blobs; // registered blob variables list - - pthread_mutex_t mtx; } srv_blob; } rpc_srv_t;