Closed sidyhe closed 2 years ago
后续优化了重复代码, 以及一处日志错误
GetQueuedCompletionStatus() 返回 FALSE 后 倒数第二个参数 (OVERLAPPED**) &event 有没有可能非空呢?
根据MSDN文档, 返回FALSE表示没有IO完成
Remark:
This function returns FALSE when no I/O operation was dequeued.
https://docs.microsoft.com/en-us/windows/win32/fileio/getqueuedcompletionstatusex-func