Commit d91d8daa authored by captainwong's avatar captainwong

update

parent bd62f269
...@@ -326,7 +326,7 @@ int main(int argc, char** argv) ...@@ -326,7 +326,7 @@ int main(int argc, char** argv)
auto main_thread_base = init_thread(sin, 0, session_per_thread); auto main_thread_base = init_thread(sin, 0, session_per_thread);
event_base_dispatch(main_thread_base); event_base_dispatch(main_thread_base);
for (int i = 1; i < thread_count; i++) { for (int i = 0; i < thread_count; i++) {
threads[i].join(); threads[i].join();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment