您即将离开腾讯云开发者社区,请注意您的账号财产安全
https://stackoverflow.com/questions/289434/how-to-make-a-java-thread-wait-for-another-threads-output
继续访问