
#7719: System.Timeout.timeout may leak <<timeout>> exceptions -------------------------+-------------------------------------------------- Reporter: int-e | Owner: Type: bug | Status: new Priority: normal | Component: libraries/base Version: 7.7 | Keywords: Os: Linux | Architecture: x86_64 (amd64) Failure: None/Unknown | Blockedby: Blocking: | Related: -------------------------+-------------------------------------------------- Comment(by int-e): Replying to [comment:1 int-e]:
(Examples using multiple capabilities running in parallel are easier to construct.)
On second thought, no. Even with multiple capabilities, everything hinges on the fact that the {{{killThread}}} targeting the timer threads may block. Other than having exceptions masked I see no such possibility. (Blocking on black holes is a worrisome option; that is another reason (besides performance) why {{{registerTimeout}}} should '''not''' evaluate the new timeout queue.) -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7719#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler