From b90ba316b54db321d3e8aaac7df93b46d80b9d9c Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期二, 22 十二月 2020 15:47:41 +0800 Subject: [PATCH] 三个没有回收的信号 --- src/socket/net_mod_socket_wrapper.h | 19 ++++++------------- 1 files changed, 6 insertions(+), 13 deletions(-) diff --git a/src/socket/net_mod_socket_wrapper.h b/src/socket/net_mod_socket_wrapper.h index 421733f..7f37b28 100644 --- a/src/socket/net_mod_socket_wrapper.h +++ b/src/socket/net_mod_socket_wrapper.h @@ -84,13 +84,6 @@ net_mod_recv_msg_t ** recv_arr, int *recv_arr_size) ; -/** - * 鍚姩bus - * - * @return 0 鎴愬姛锛� 鍏朵粬鍊� 澶辫触鐨勯敊璇爜 -*/ -int net_mod_socket_start_bus(void * _socket); - /** * 鍚憂ode_arr 涓殑鎵�鏈夌綉缁滆妭鐐瑰彂甯冩秷鎭� @@ -112,10 +105,10 @@ * @size 涓婚闀垮害 * @key 鎬荤嚎绔彛 */ -int net_mod_socket_sub(void * _socket, void *topic, int size, int key); +int net_mod_socket_sub(void * _socket, void *topic, int size); // 瓒呮椂杩斿洖銆� @sec 绉� 锛� @nsec 绾崇 -int net_mod_socket_sub_timeout(void * _socket, void *topic, int size, int key, int sec, int nsec); -int net_mod_socket_sub_nowait(void * _socket, void *topic, int size, int key); +int net_mod_socket_sub_timeout(void * _socket, void *topic, int size, int sec, int nsec); +int net_mod_socket_sub_nowait(void * _socket, void *topic, int size); /** @@ -124,10 +117,10 @@ * @size 涓婚闀垮害 * @key 鎬荤嚎绔彛 */ -int net_mod_socket_desub(void * _socket, void *topic, int size, int key); +int net_mod_socket_desub(void * _socket, void *topic, int size); // 瓒呮椂杩斿洖銆� @sec 绉� 锛� @nsec 绾崇 -int net_mod_socket_desub_timeout(void * _socket, void *topic, int size, int key, int sec, int nsec); -int net_mod_socket_desub_nowait(void * _socket, void *topic, int size, int key); +int net_mod_socket_desub_timeout(void * _socket, void *topic, int size, int sec, int nsec); +int net_mod_socket_desub_nowait(void * _socket, void *topic, int size); /** -- Gitblit v1.8.0