eventwaithandle在线程中的不满 [英] disatanteges of eventwaithandle in threading
本文介绍了eventwaithandle在线程中的不满的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
eventwaithandle类在线程同步中的缺点是什么
what are the disadvantages of eventwaithandle class in thread synchronization
推荐答案
无.最有用的线程同步原语之一.
例如,请参阅我关于阻塞队列的提示/技巧文章: Simple Blocking线程通信和线程间调用队列 [
None. One of the most useful thread synchronization primitives.
For example, see my Tips/Tricks article on the blocking queue: Simple Blocking Queue for Thread Communication and Inter-thread Invocation[^].
(This question is absolutely incorrect. Disadvantages can be only relative to some alternative approach. If this is an interview question — run away from those idiots; if this is a school test question — quit and sue them for fraud :-).)
—SA
这篇关于eventwaithandle在线程中的不满的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文