4 ms·
Yeah I just wanted to highlight it, as I've see far too much code passing INFINITE to WaitForSingleObject or similar. And yeah, not having another way of cance
by magicalhippo 6y ago
Yeah I just wanted to highlight it, as I've see far too much code passing INFINITE to WaitForSingleObject or similar.
And yeah, not having another way of cancelling is not nice, but sadly not entirely uncommon.
- asdfasgasdgasdg 6y agoRight I think the suggestion in that case would be to upgrade to an API that does support cancellation wherever possible. E.g. wait for multiple objects with the original argument and an additional cancel event.