#7528: Non terminating thunk resolution blocks world, even in the case of forkOS
----------------------------------------+-----------------------------------
Reporter: timthelion | Owner:
Type: bug | Status: new
Priority: normal | Component: Runtime System
Version: 7.4.2 | Keywords: forkOS Concurrent
thunk
Os: Unknown/Multiple | Architecture: x86_64 (amd64)
Failure: Incorrect result at runtime | Blockedby:
Blocking: | Related:
----------------------------------------+-----------------------------------
Please see:
http://comments.gmane.org/gmane.comp.lang.haskell.cafe/102479
>{-# LANGUAGE ScopedTypeVariables #-}
>import Control.Concurrent
>main = do
> putStrLn "Hello"
> forkOS neverEnds
> putStrLn "Bye bye" --We never get here(or at least I don't).
>neverEnds = do
> let (a::String) = a
> putStrLn a
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7528>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs