At Mon, 2 Oct 2017 16:48:40 -0400, George Neuner wrote:
> 
> On 10/2/2017 2:52 PM, Matthew Flatt wrote:
> > Meanwhile, there's no similar way to order
> > callbacks that are registered with a custodian.
> 
> IIRC, the JVM executes finalizers in reverse order of registration - 
> expecting that, in your example, A would have been allocated before B.  
> Is that something that would work here? [He asks naively.]

That's an interesting idea. Adding an order on finalization in general
is not easy, but it might be easy enough for custodian-shutdown actions
to be ordered that way, and it does seem like a helpful guarantee.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to