Closed zhang-peter closed 2 years ago
WaitForSingleObject(_over.ref.hEvent, 500) may block thread in 500ms. That case will result in a bad experience in UI application.
Do you mean using a for loop instead of block? Maybe it's a good idea. I will merge it and test.
WaitForSingleObject(_over.ref.hEvent, 500) may block thread in 500ms. That case will result in a bad experience in UI application.