diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-05-31 13:23:20 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-06-04 04:38:36 -0400 |
commit | cab684f0857c71c40996201d6fb3ba93eb38a701 (patch) | |
tree | a826a9b6a86e4e87b8f9364b12d3d3d81460d77a /compiler/GHC | |
parent | c330331adc0a686f24b94844d0eb3a0711b928d7 (diff) | |
download | haskell-cab684f0857c71c40996201d6fb3ba93eb38a701.tar.gz |
rts: Add Windows-specific implementation of rtsSleep
Previously we would use the POSIX path, which uses `nanosleep`. However,
it turns out that `nanosleep` is provided by `libpthread` on Windows. In
general we don't want to incur such a dependency. Avoid this by simply
using `Sleep` on Windows.
Fixes #18272.
Diffstat (limited to 'compiler/GHC')
0 files changed, 0 insertions, 0 deletions