From af85260254bacac40a68d4f5f61950523beb3a27 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期一, 19 十月 2020 17:02:41 +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