[GHC] #367: Infinite loops can hang Concurrent Haskell
GHC
trac at galois.com
Fri Oct 20 08:36:22 EDT 2006
#367: Infinite loops can hang Concurrent Haskell
----------------------+-----------------------------------------------------
Reporter: simonpj | Owner: nobody
Type: bug | Status: assigned
Priority: lowest | Milestone: 6.8
Component: Compiler | Version: 6.4.1
Severity: normal | Resolution: None
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
----------------------+-----------------------------------------------------
Changes (by igloo):
* milestone: => 6.8
* testcase: =>
Comment:
One reason this is annoying is that it means you can't have a manager
thread running code (which you have no reason to believe won't go into an
infinite loop or generate an infinite amount of output) with a timeout.
For example, lambdabot can't just use something like the timeout function
above to ensure its modules don't go into an infinite loop. Another
example is not being able to give up and return a bad result if you run
out of time in something like the ICFP contest.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/367>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list