[Haskell-cafe] threadDelay delays less time than expected (Windows)
ben at smart-cactus.org
Thu Dec 29 14:44:12 UTC 2016
On December 28, 2016 9:20:50 AM EST, Lian Hung Hon <hon.lianhung at gmail.com> wrote:
>I am baffled by a strange bug (?) with threadDelay on Windows. It
>for less time than expected (500 seconds vs expected 24 hours), and is
>consistently reproducible on my system. Can someone have a look (need
>patience, ~8 minutes waiting), just to be sure? I glanced around trac
>didn't find any related issues.
I believe I fixed this bug a few weeks ago. Indeed there was an integer overflow in then non-threaded Windows RTS. This should be fixed in GHC 8.2. See Trac #7325.
More information about the Haskell-Cafe