Used SwitchToThread for YIELDING on AMD piledriver with Windows.

This commit is contained in:
Zhang Xianyi
2014-01-28 16:40:19 +08:00
parent 75acf96d94
commit a789b77b75

View File

@@ -315,9 +315,10 @@ typedef int blasint;
#endif
#ifdef PILEDRIVER
#ifndef YIELDING
#define YIELDING __asm__ __volatile__ ("nop;nop;nop;nop;nop;nop;nop;nop;\n");
#endif
#endif
#ifndef YIELDING
#define YIELDING sched_yield()