Replaced sched_yield() for VS