MsgWaitForMultipleObjectsEx 和警报等待状态 [英] MsgWaitForMultipleObjectsEx and alertable wait state
本文介绍了MsgWaitForMultipleObjectsEx 和警报等待状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以使用 MsgWaitForMultipleObjects()
/MsgWaitForMultipleObjectsEx()
进入警报等待状态?
Is it possible to enter an alertable wait state using MsgWaitForMultipleObjects()
/ MsgWaitForMultipleObjectsEx()
?
推荐答案
如果您将 MWMO_ALERTABLE 标志指定为最后一个参数(dwFlags - 等待类型),则可以进入警报等待状态
it is possible to enter into an alertable wait if you specify MWMO_ALERTABLE flag as the last parameter (dwFlags - the wait type)
这篇关于MsgWaitForMultipleObjectsEx 和警报等待状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文