Will WaitForMultipleObjects modify the state of *multiple* objects? [duplicate]
问题 This question already has an answer here : Does WaitForMultipleObjects() reset all auto-reset events? (1 answer) Closed 5 years ago . When using WaitForMultipleObjects(... /*bWaitAll=*/FALSE ...) the function will obviously modify the state of the first synchronization object that causes it to return. That is, if you have (had) a signaled auto-reset event, and the return value indicates that this event object caused the function to return, that surely it has been reset. However, consider the