about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-04 17:40:45 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-03-05 09:11:10 -0800
commitd8bd8de82e19702ad26fff704ff9a4890ebe1bf7 (patch)
treea4eb4b305a72fd8cd1e19d49a8d91179566a25c7 /src/rustllvm/ExecutionEngineWrapper.cpp
parent8334dd445fb10089a68808e7895f0c00d6fd0b3e (diff)
downloadrust-d8bd8de82e19702ad26fff704ff9a4890ebe1bf7.tar.gz
rust-d8bd8de82e19702ad26fff704ff9a4890ebe1bf7.zip
native: Move from usleep() to nanosleep()
Using nanosleep() allows us to gracefully recover from EINTR because on error it
fills in the second parameter with the remaining time to sleep.

Closes #12689
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions