if _WIN32 -> ifdef _WIN32, draft of new threading strategy