From b5fe7f9a3bcc2f20d127f9081c1cf132091f6a57 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期五, 27 十一月 2020 15:25:13 +0800
Subject: [PATCH] update

---
 src/socket/shm_mod_socket.h |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/socket/shm_mod_socket.h b/src/socket/shm_mod_socket.h
index 3365804..34c78a5 100644
--- a/src/socket/shm_mod_socket.h
+++ b/src/socket/shm_mod_socket.h
@@ -105,6 +105,12 @@
 	int sendandrecv_nowait(const void *send_buf, const int send_size, const int port, void **recv_buf, int *recv_size) ;
 
 
+	int sendandrecv_unsafe(const void *send_buf, const int send_size, const int port, void **recv_buf, int *recv_size) ;
+	// 瓒呮椂杩斿洖銆� @sec 绉� 锛� @nsec 绾崇
+	int sendandrecv_unsafe_timeout(const void *send_buf, const int send_size, const int port, void **recv_buf, int *recv_size,  struct timespec *timeout) ;
+	int sendandrecv_unsafe_nowait(const void *send_buf, const int send_size, const int port, void **recv_buf, int *recv_size) ;
+
+
 	/**
 	 * 鍚姩bus
 	 * 
@@ -148,9 +154,9 @@
 
 
 	/**
-	 * 鑾峰彇soket绔彛鍙�
+	 * 鑾峰彇soket key
 	 */
-	int get_port() ;
+	int get_key() ;
 
 
 };

--
Gitblit v1.8.0