Revert "Use usleep instead of sched_yield by default"
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Mon, 11 Jun 2018 15:05:27 +0000 (17:05 +0200)
committerGitHub <noreply@github.com>
Mon, 11 Jun 2018 15:05:27 +0000 (17:05 +0200)
common.h

index b7181e6..663f37e 100644 (file)
--- a/common.h
+++ b/common.h
@@ -356,7 +356,7 @@ typedef int blasint;
 */
 
 #ifndef YIELDING
-#define YIELDING       usleep(10)
+#define YIELDING       sched_yield()
 #endif
 
 /***