From 46fde2ea5e52357f2e54171b1f487b63c521dfa5 Mon Sep 17 00:00:00 2001 From: Matthew Date: Mon, 13 Nov 2023 10:00:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E6=88=90=E6=9C=8D=E5=8A=A1=E7=AB=AF?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/HTService.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/HTService.cpp b/src/HTService.cpp index 0b6a6d6..6c54398 100644 --- a/src/HTService.cpp +++ b/src/HTService.cpp @@ -307,7 +307,10 @@ int main(int argc, char* argv[]) int i = 0; is_down = 1; - if (RET_OK != loadServiceEvent()) return 0; // 加载运行配置 + if (RET_OK != loadServiceEvent()) + { + return 0; // 加载运行配置 + } HTStartBackgroundProcess(); HTInitThreadHandle(); vSetPid(); // 记录PID @@ -319,7 +322,8 @@ int main(int argc, char* argv[]) ht_pthread_create_background(&thread_handle_pingce, thread_pingce_proc, NULL); // 评测数据入库线程 ht_pthread_create_background(&thread_handle_gishold, thread_gis_hold_proc, NULL); // 评测数据入库线程 - ht_pthread_create_background(&thread_handle_linkmgr, thread_client_proc, NULL); // 链路管理线程 + ht_pthread_create_background(&thread_handle_linkmgr, thread_listen_proc, NULL); // 链路管理线程 + // ht_pthread_create_background(&thread_handle_linkmgr, thread_client_proc, NULL); // 链路管理线程 ht_pthread_create_background(&thread_handle_parse, thread_parser_proc, NULL); // 104报文解析线程 ht_pthread_create_background(&thread_handle_timer, thread_Timer_proc, NULL); // 104链路超时管理线程 ht_pthread_create_background(&thread_handle_active, thread_active_proc, NULL); // 104报文应答线程