WIP:Poll windows events
This mr is a followup of !125 (merged) to get the poll implementation to a working state using windows events and can be used as a base for refactoring the windows spawn implementation to reduce the number of required threads.
Edited by Ralf Habacker