--- libaitrpc/example/tsrv_un.c 2015/06/25 01:22:43 1.1.2.2 +++ libaitrpc/example/tsrv_un.c 2024/03/20 17:10:50 1.2.8.1 @@ -1,4 +1,6 @@ #include +#include +#include #include #include #include @@ -108,8 +110,10 @@ int big(rpc_cli_t *cli, struct tagRPCCall *rpc, array_ printf("Ok lets fun... %d\n", array_Size(iv)); + mpool_dump(NULL, ">>> %s(%d) ", __func__, __LINE__); v = ait_getVars(&RPC_RETVARS(cli), 0); AIT_SET_BUFSIZ(v, '*', AIT_GET_I32(array(iv, 0, ait_val_t*))); + mpool_dump(NULL, ">>> %s(%d) ", __func__, __LINE__); return 0; } @@ -147,13 +151,15 @@ int main(int argc, char **argv) rpc_register_srvServices(srv); rpc_register_blobServices(srv); - mpool_xdump(); + mpool_dump(NULL, NULL); rpc_srv_execBLOBServer(srv); + rpc_srv_DispatchSignal(srv, 42); rpc_srv_loopServer(srv); + rpc_srv_DispatchSignal(srv, 0); rpc_srv_endBLOBServer(srv); rpc_srv_endServer(&srv); - mpool_xdump(); + mpool_dump(NULL, NULL); return 0; }