about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2014-05-14 15:54:19 -0400
committerAlex Crichton <alex@alexcrichton.com>2014-05-15 13:50:36 -0700
commite043644cea119ea701a293a01b6d4c5c0f13f450 (patch)
treefb99bf6af2490e2f830a96f1daab8f788802e9b3 /src/rustllvm/RustWrapper.cpp
parent8211539114df8b6e3a9b8b251fa57cb5a77d2f14 (diff)
downloadrust-e043644cea119ea701a293a01b6d4c5c0f13f450.tar.gz
rust-e043644cea119ea701a293a01b6d4c5c0f13f450.zip
use sched_yield on linux and freebsd
pthread_yield is non-standard, while sched_yield is POSIX

The Linux documentation recommends using the standard function. This is
the only feature we're currently using that's present in glibc but not
in musl.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions