summaryrefslogtreecommitdiff
path: root/compiler/GHC
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-05-31 13:23:20 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-06-04 04:38:36 -0400
commitcab684f0857c71c40996201d6fb3ba93eb38a701 (patch)
treea826a9b6a86e4e87b8f9364b12d3d3d81460d77a /compiler/GHC
parentc330331adc0a686f24b94844d0eb3a0711b928d7 (diff)
downloadhaskell-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