We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1de0f9 commit 75f935dCopy full SHA for 75f935d
examples/xtd.core.examples/threading/thread_pool2/src/thread_pool2.cpp
@@ -13,7 +13,7 @@ auto main() -> int {
13
println("({} {}) -> sleep(200_ms)", thread::current_thread().name(), thread::current_thread().managed_thread_id());
14
thread::sleep(200_ms);
15
println("({} {}) -> join all threads of thread_pool", thread::current_thread().name(), thread::current_thread().managed_thread_id());
16
- thread_pool::join_all();
+ thread_pool::close();
17
println("({} {}) -> stop", thread::current_thread().name(), thread::current_thread().managed_thread_id());
18
}
19
0 commit comments