Java线程中的join是使用线程从异步执行变成同步执行。
join使用示例1:在一个线程中使用
MyThread thread = new MyThread(); thread.start(); thread.join();
Powered by: 博客园 Copyright © 2024 酷鱼影子 Powered by .NET 8.0 on Kubernetes