[GHC] #7719: System.Timeout.timeout may leak <<timeout>> exceptions

GHC cvs-ghc at haskell.org
Sun Apr 21 22:01:27 CEST 2013


#7719: System.Timeout.timeout may leak <<timeout>> exceptions
-----------------------------+----------------------------------------------
  Reporter:  int-e           |          Owner:                
      Type:  bug             |         Status:  closed        
  Priority:  normal          |      Milestone:  7.8.1         
 Component:  libraries/base  |        Version:  7.7           
Resolution:  fixed           |       Keywords:                
        Os:  Linux           |   Architecture:  x86_64 (amd64)
   Failure:  None/Unknown    |     Difficulty:  Unknown       
  Testcase:                  |      Blockedby:                
  Blocking:                  |        Related:                
-----------------------------+----------------------------------------------
Changes (by igloo):

  * status:  patch => closed
  * resolution:  => fixed


Comment:

 Optimisation also applied:
 {{{
 commit 31153f1e06ad05002d1a199d9c45a36fcbbaf033
 Author: Bertram Felgenhauer <int-e at gmx.de>
 Date:   Thu Mar 7 02:19:28 2013 +0100

     Implement faster System.Timeout.timeout for the threaded RTS.

     The basic idea is to use the Timer Manager rather than spawning an
     auxilliary thread to handle timeouts; this was proposed by Bas van
 Dijk
     two years ago (#4963), and recently by Herbert Valerio. The key idea
     to make this work is to spawn an auxilliary thread for the delivery
     of the Timeout exception. This idea as well as most of the code is due
     to Akio Takano.
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7719#comment:18>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list