|
发表于 2009-7-14 17:36:12
|
显示全部楼层
对于ET与LT的理解,参考下面的文档,直接搜索ET,LT就成。
http://www.acejoy.com/bbs/viewthread.php?tid=1225&extra=page%3D1
楼主想了解的触发方式的差异参考这里
WaitForMultipleObjects() returns an index to the first handle array slot with a signaled handle. It does not, however, indicate the number of handles that are signaled, and there is no simple way to scan the handles and check which are. WaitForMultipleObjects() must therefore be invoked numerous times to find all signaled handles. In contrast, select() returns a set of active I/O handles and a count of how many are active.
WaitForMultipleObjects() doesn't guarantee a fair distribution of notifications, that is, the lowest active handle in the array is always returned, regardless of how long other handles further back in the array may have had pending events.
看书一定要仔细哦~
[ 本帖最后由 modern 于 2009-7-14 20:01 编辑 ] |
|