[PATCH] [libcxx] Windows port of thread/mutex/chrono

Nico Rieck nico.rieck at gmail.com
Wed Oct 16 12:54:06 PDT 2013


On 16.10.2013 21:32, David Majnemer wrote:
> Also, please do not use __yield on Windows, it is apparently semantically
> equivalent to an x86 PAUSE instruction.  A suitable replacement for
> sched_yield() on Windows would be SwitchToThread().

It's just the internal function name but now I see that MSVC has an 
intrinsic with the same name. I'll change the name.

-Nico



More information about the cfe-commits mailing list