diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-09-02 09:51:11 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-09-02 09:55:00 +0100 |
commit | 6f42eadc54e81be50b7a817c72b0cf4d7ec5feb4 (patch) | |
tree | 1aeed9b313d133fee8aa90d60c8f796079e257eb /toxcore/onion_client.c | |
parent | 579bdc126f3054e27224b2b612eea52eb22e8507 (diff) |
Replace pthread_yield with sched_yield.
The former is a non-standard glibc extension. On linux, it is implemented as a
call to sched_yield, so this change does nothing there. On OSX, pthread_yield
doesn't exist, and we already use sched_yield.
Diffstat (limited to 'toxcore/onion_client.c')
0 files changed, 0 insertions, 0 deletions