Skip to content

threadDelay can't handle long times

With (Control.Concurrent.threadDelay :: Int -> IO ()) and the parameter interpreted as microseconds, the longest delay time is some 35 minutes, which I find somewhat short. Of course it's possible to call threadDelay several times to implement longer delays, but I ask whether this is the interface we want to have.

Trac metadata
Trac field Value
Version 6.6.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information