Skip to content

Commit 2f95794

Browse files
authored
Merge pull request #1613 from xianyi/revert-1600-noyield
Revert "Use usleep instead of sched_yield by default"
2 parents 6f71c0f + de8fff6 commit 2f95794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ typedef int blasint;
356356
*/
357357

358358
#ifndef YIELDING
359-
#define YIELDING usleep(10)
359+
#define YIELDING sched_yield()
360360
#endif
361361

362362
/***

0 commit comments

Comments
 (0)