From ed7c4a043b3093dfe8ddb3d6d3e3d6fd6af43d4a Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 7 Jun 2018 10:18:26 +0200 Subject: [PATCH] Use usleep instead of sched_yield by default sched_yield only burns cpu cycles, fixes #900, see also #923, #1560 --- common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.h b/common.h index 663f37e..b7181e6 100644 --- a/common.h +++ b/common.h @@ -356,7 +356,7 @@ typedef int blasint; */ #ifndef YIELDING -#define YIELDING sched_yield() +#define YIELDING usleep(10) #endif /*** -- 2.7.4