3 ms·
poll is not available for Windows. The semantic is similar to WaitForMultipleObjects with overlapped IO but not quite. Thread pool API doesn't have this class
by Const-me 5y ago
poll is not available for Windows. The semantic is similar to WaitForMultipleObjects with overlapped IO but not quite.
Thread pool API doesn't have this class of bugs. One doesn't need to wake up any threads to change the set of handles being polled.