projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0218b88
)
Use usleep instead of sched_yield by default
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Thu, 7 Jun 2018 08:18:26 +0000
(10:18 +0200)
committer
GitHub
<noreply@github.com>
Thu, 7 Jun 2018 08:18:26 +0000
(10:18 +0200)
sched_yield only burns cpu cycles, fixes #900, see also #923, #1560
common.h
patch
|
blob
|
history
diff --git
a/common.h
b/common.h
index
663f37e
..
b7181e6
100644
(file)
--- a/
common.h
+++ b/
common.h
@@
-356,7
+356,7
@@
typedef int blasint;
*/
#ifndef YIELDING
-#define YIELDING
sched_yield(
)
+#define YIELDING
usleep(10
)
#endif
/***