From 803d392aeb11665a3e34f7be83f972a1fc7d39c0 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期四, 04 二月 2021 15:47:39 +0800
Subject: [PATCH] update

---
 src/net/net_mod_socket.h |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/net/net_mod_socket.h b/src/net/net_mod_socket.h
index 7d64bb1..11e0ebe 100644
--- a/src/net/net_mod_socket.h
+++ b/src/net/net_mod_socket.h
@@ -62,10 +62,8 @@
 private:
    
   ShmModSocket shmModSocket;
-  // pool req_resp_pool;
-  NetConnPool *gpool;
 
-  pthread_mutex_t sendMutex;
+  // pthread_mutex_t sendMutex;
 
   // request header 缂栫爜涓虹綉缁滀紶杈撶殑瀛楄妭
   static void * encode_request_head(net_mod_request_head_t & request);
@@ -195,7 +193,10 @@
 
   
 
-  int recvandsend(void **recvbuf, int *recvsize, int *key, recv_callback_fn callback,
+  /**
+   * recvandsend
+   */
+  int recvandsend( recvandsend_callback_fn callback,
                                         const struct timespec *timeout = NULL , int flag = 0, void * user_data = NULL );
 
   /**

--
Gitblit v1.8.0