From 9b29a67af93e4ab9948cc60f743d73c4bb39e738 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期二, 20 十月 2020 16:46:55 +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