#1364: Finalizers not guaranteed to run before the program exits
-------------------------------------+--------------------------------------
    Reporter:  [EMAIL PROTECTED]  |        Owner:  igloo           
        Type:  merge                 |       Status:  new             
    Priority:  normal                |    Milestone:  6.10.2          
   Component:  Runtime System        |      Version:  6.6.1           
    Severity:  normal                |   Resolution:                  
    Keywords:                        |   Difficulty:  Moderate (1 day)
    Testcase:                        |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple      |  
-------------------------------------+--------------------------------------
Changes (by simonmar):

  * owner:  simonmar => igloo
  * type:  feature request => merge

Comment:

 Ok, I've finally reviewed, amended, tested and pushed these patches.
 Under normal circumstances we wouldn't push this into the stable branch,
 because it constitutes a new feature and makes a minor API change.
 However, there is strong demand for this  feature, and the API change is
 really very minor (a new primop).

 Patches to merge: in GHC:

 {{{
 Wed Dec 10 15:04:25 GMT 2008  Simon Marlow <[EMAIL PROTECTED]>
   * FIX #1364: added support for C finalizers that run as soon as the
 value is not longer reachable.

   Patch originally by Ivan Tomac <[EMAIL PROTECTED]>, amended by
   Simon Marlow:

     - mkWeakFinalizer# commoned up with mkWeakFinalizerEnv#
     - GC parameters to ALLOC_PRIM fixed
 }}}

 to libraries/base:

 {{{
 Wed Dec 10 15:05:10 GMT 2008  Ivan Tomac <[EMAIL PROTECTED]>
   * FIX #1364: added support for C finalizers that run as soon as the
 value is no longer reachable.

   Patch amended by Simon Marlow:
     - mkWeakFinalizer# commoned up with mkWeakFinalizerEnv#
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1364#comment:19>
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

Reply via email to