diff options
| author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-01-06 15:45:28 -0800 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-01-08 21:49:03 +0100 |
| commit | 00751594dbdce9f1855ebe4105677a494fd7e36b (patch) | |
| tree | 6ed10f1907c3ccf72147603133dd72795722676c /lib | |
| parent | f73dddc767b38988f6905ef56e95acad9fa4e8ca (diff) | |
Use sched_yield instead of pthread_yield
Despite the name implying it's a standard part of the POSIX threads API,
pthread_yield is actually non-standard and less portable than sched_yield.
For instance, Solaris only has sched_yield, and not pthread_yield.
Since even the Linux man page suggests using sched_yield, just call that.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
