Browse Source
Use usleep instead of sched_yield by default
sched_yield only burns cpu cycles, fixes #900, see also #923, #1560
tags/v0.3.1
Martin Kroeker
GitHub
7 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
common.h
|
|
@@ -356,7 +356,7 @@ typedef int blasint; |
|
|
|
*/ |
|
|
|
|
|
|
|
#ifndef YIELDING |
|
|
|
#define YIELDING sched_yield() |
|
|
|
#define YIELDING usleep(10) |
|
|
|
#endif |
|
|
|
|
|
|
|
/*** |
|
|
|