From 82b028cf63953d8080b63d85468eae488d212194 Mon Sep 17 00:00:00 2001 From: fujuntang <fujuntang@smartai.com> Date: 星期四, 23 九月 2021 14:30:07 +0800 Subject: [PATCH] Fix the data parsing when in multiple threads. --- test_socket/bus_test.cpp | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/test_socket/bus_test.cpp b/test_socket/bus_test.cpp index 8d630b6..d2ead68 100644 --- a/test_socket/bus_test.cpp +++ b/test_socket/bus_test.cpp @@ -63,7 +63,6 @@ char content[512]; long i = 0; - pthread_create(&tid, NULL, run_recv, (void *)sk); while (true) { @@ -136,4 +135,4 @@ return 0; -} \ No newline at end of file +} -- Gitblit v1.8.0