Add support for interruptIOManager for WinIO I/O manager
It would be useful to add support for `interruptIOManager` to the WinIO I/O manager.
This would enable WinIO to support idle GC and more reliable deadlock detection in the non-threaded RTS. See MR !14820. This support relies on being able to interrupt the I/O manager when it is blocked waiting on I/O & timers.
The WinIO I/O manager in the non-threaded case blocks on I/O and timers in `awaitAsyncRequests` by waiting on a condition variable `threadIOWait`. Implementing interrupt would just require setting a interrupt shared variable and prodding the condition variable. Then on wakeup the interrupt variable can be read and reset, with the result being reported (so the caller knows if it was interrupted).
Unfortunately there is no sane way to test this idea currently because the ctl-c handling is broken #27402.
issue