Browse Source
Merge pull request #1600 from martin-frbg/noyield
Use usleep instead of sched_yield by default
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 |
|
|
#ifndef YIELDING |
|
|
#define YIELDING sched_yield() |
|
|
|
|
|
|
|
|
#define YIELDING usleep(10) |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
/*** |
|
|
/*** |
|
|
|