[D-runtime] Thread.yield() and SwitchToThread() on Windows

Sean Kelly sean at invisibleduck.org
Fri May 4 11:59:09 PDT 2012


On May 4, 2012, at 1:34 AM, Alex Rønne Petersen wrote:

> Hi,
> 
> Is there any particular reason Thread.yield() does not use SwitchToThread() on Windows?

Historical reasons I'd guess.  This routine is only available on WinXP and later.



More information about the D-runtime mailing list