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

Alex Rønne Petersen xtzgzorex at gmail.com
Fri May 4 17:09:20 PDT 2012


Do we support anything older than XP still?

If we don't, we should use this function.

Regards,
Alex

On Fri, May 4, 2012 at 8:59 PM, Sean Kelly <sean at invisibleduck.org> wrote:

> 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.
>
> _______________________________________________
> D-runtime mailing list
> D-runtime at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/d-runtime
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d-runtime/attachments/20120505/62f4b606/attachment.html>


More information about the D-runtime mailing list