From 68d23225a38a35f1325eb39fa4ed5a005d5de473 Mon Sep 17 00:00:00 2001 From: fujuntang <fujuntang@aiot.com> Date: 星期三, 11 八月 2021 09:50:20 +0800 Subject: [PATCH] fix from 3.1 first commit --- src/socket/bus_server_socket.h | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/socket/bus_server_socket.h b/src/socket/bus_server_socket.h index 486bf49..956271b 100644 --- a/src/socket/bus_server_socket.h +++ b/src/socket/bus_server_socket.h @@ -3,7 +3,7 @@ #include "usg_common.h" #include "shm_socket.h" #include "shm_allocator.h" -#include "mem_pool.h" +#include "shm_mm.h" #include "hashtable.h" #include "sem_util.h" #include "logger_factory.h" @@ -27,11 +27,12 @@ SHMTopicSubMap *topic_sub_map; private: + int destroy(); void _proxy_sub( char *topic, int key); void _proxy_pub( char *topic, void *buf, size_t size, int key); - void *run_pubsub_proxy(); + void *_run_proxy_(); // int parse_pubsub_topic(char *str, size_t size, char **_action, char **_topic, size_t *head_len ); - + void _proxy_desub( char *topic, int key); void _proxy_desub_all(int key); -- Gitblit v1.8.0