开发者

stop thread till other complete

开发者 https://www.devze.com 2022-12-23 17:10 出处:网络
How to stop thread till other thread is running. How can i check thread is runni开发者_如何转开发ng and stop thread in c#It\'s not entirely clear from your question, but you may just be after Thread.J

How to stop thread till other thread is running. How can i check thread is runni开发者_如何转开发ng and stop thread in c#


It's not entirely clear from your question, but you may just be after Thread.Join:

// This will block until "otherThread" has completed
otherThread.Join();
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号