Implement windows threading model abstraction