Merge fb31c8154d
into 8f0d6c06a9
This commit is contained in:
commit
1b0c096d7f
4
common.h
4
common.h
|
@ -314,6 +314,10 @@ typedef int blasint;
|
|||
#define YIELDING thr_yield()
|
||||
#endif
|
||||
|
||||
#if defined(OS_LINUX)
|
||||
#define YIELDING __asm__ __volatile__ ("nop;nop;nop;nop;nop;nop;nop;nop;\n");
|
||||
#endif
|
||||
|
||||
#if defined(OS_WINDOWS)
|
||||
#if defined(_MSC_VER) && !defined(__clang__)
|
||||
#define YIELDING YieldProcessor()
|
||||
|
|
Loading…
Reference in New Issue