From 82bd40bc2b2d024ab7be0f27eea3f871f99cc213 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期三, 21 十月 2020 16:55:30 +0800 Subject: [PATCH] update --- src/socket/shm_socket.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/socket/shm_socket.h b/src/socket/shm_socket.h index e38fd0e..4f1efc2 100644 --- a/src/socket/shm_socket.h +++ b/src/socket/shm_socket.h @@ -100,6 +100,13 @@ int shm_sendandrecv(shm_socket_t *socket, const void *send_buf, const int send_size, const int send_port, void **recv_buf, int *recv_size, struct timespec * timeout = NULL, int flags=0); +/** + * 鍔熻兘鍚宻hm_sendandrecv, 浣嗘槸涓嶆槸绾跨▼瀹夊叏鐨� + */ +int shm_sendandrecv_unsafe(shm_socket_t *socket, const void *send_buf, const int send_size, const int send_port, void **recv_buf, int *recv_size, + struct timespec * timeout = NULL, int flags=0); + + #endif \ No newline at end of file -- Gitblit v1.8.0