Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
信号量或互斥体的线程阻塞通常会导致程序卡顿,我宁愿拥有一个基于 QEventLoop 的线程阻塞,因为这样不会停止线程。
这是否已经存在,特别是对于信号量,还是我需要创建自己的类来实现它?谢谢。