Browse Source

Replace sched_yield on Linux with nop instruction

pull/1051/head
Martin Kroeker GitHub 9 years ago
parent
commit
fb31c8154d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common.h

+ 1
- 1
common.h View File

@@ -315,7 +315,7 @@ typedef int blasint;
#endif
#if defined(OS_LINUX)
#define YIELDING usleep(1)
#define YIELDING __asm__ __volatile__ ("nop;nop;nop;nop;nop;nop;nop;nop;\n");
#endif

#if defined(OS_WINDOWS)


Loading…
Cancel
Save