恢复tcp线程优先级(降低)
author孙春阳 <snickersun@163.com>
Tue, 23 Dec 2025 08:14:13 +0000 (16:14 +0800)
committer孙春阳 <snickersun@163.com>
Tue, 23 Dec 2025 08:16:18 +0000 (16:16 +0800)
code/sdk/open_source/openharmony/third_party/lwip/lwip_v2.1.3/src/api/tcpip.c

index 18d74a7..56060e5 100644 (file)
@@ -724,7 +724,7 @@ tcpip_init(tcpip_init_done_fn initfunc, void *arg)
   // tcpip_thread_id = sys_thread_new(TCPIP_THREAD_NAME, tcpip_thread, NULL, TCPIP_THREAD_STACKSIZE, TCPIP_THREAD_PRIO);
     taskcfg.create_queue_handle = NULL;
     taskcfg.attr.name=TCPIP_THREAD_NAME;
-    taskcfg.attr.priority = osPriorityNormal;// osPriorityBelowNormal;
+    taskcfg.attr.priority = osPriorityBelowNormal;
     taskcfg.attr.stack_size = TCPIP_THREAD_STACKSIZE;
     taskcfg.func = tcpip_thread;
     taskcfg.use_mem = USE_EXTEND_MEM;