diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-03-04 17:40:45 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-03-05 09:11:10 -0800 |
| commit | d8bd8de82e19702ad26fff704ff9a4890ebe1bf7 (patch) | |
| tree | a4eb4b305a72fd8cd1e19d49a8d91179566a25c7 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 8334dd445fb10089a68808e7895f0c00d6fd0b3e (diff) | |
| download | rust-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
