Use usleep instead of sched_yield by default

sched_yield only burns cpu cycles, fixes #900,  see also #923, #1560
This commit is contained in:
Martin Kroeker 2018-06-07 10:18:26 +02:00 committed by GitHub
parent 0218b884c1
commit ed7c4a043b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ typedef int blasint;
*/
#ifndef YIELDING
#define YIELDING sched_yield()
#define YIELDING usleep(10)
#endif
/***