This commit is contained in:
Martin Kroeker 2017-06-07 08:51:50 +00:00 committed by GitHub
commit 1b0c096d7f
1 changed files with 4 additions and 0 deletions

View File

@ -313,6 +313,10 @@ typedef int blasint;
#if defined(OS_SUNOS)
#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__)