Re: [racket] Custodian behavior on normal exit

2013-11-01 Thread Matthew Flatt
At Wed, 30 Oct 2013 10:36:34 -0400, Jonathan Schuster wrote: > On Wed, Oct 30, 2013 at 10:16 AM, Tobias Hammer wrote: > > > Custodians can have entries that are cleaned up on program exit and > > entries that are only cleaned up whenever a custodian is (regularly) shut > > down. > > > > See > htt

Re: [racket] Custodian behavior on normal exit

2013-10-30 Thread Jonathan Schuster
On Wed, Oct 30, 2013 at 10:16 AM, Tobias Hammer wrote: > Custodians can have entries that are cleaned up on program exit and > entries that are only cleaned up whenever a custodian is (regularly) shut > down. > > See > http://docs.racket-lang.org/**inside/Custodians.html

Re: [racket] Custodian behavior on normal exit

2013-10-30 Thread Tobias Hammer
Custodians can have entries that are cleaned up on program exit and entries that are only cleaned up whenever a custodian is (regularly) shut down. See http://docs.racket-lang.org/inside/Custodians.html scheme_add_managed vs. scheme_add_managed_close_on_exit As far as i can tell the subproc

Re: [racket] Custodian behavior on normal exit

2013-10-30 Thread Asumu Takikawa
On 2013-10-28 18:39:23 -0400, Jonathan Schuster wrote: >My assumption was that the root custodian would always call >custodian-shutdown-all on itself when a Racket process ends, regardless of >whether the process is shutting down gracefully or not. Is that not the >case? I suspect

[racket] Custodian behavior on normal exit

2013-10-28 Thread Jonathan Schuster
I think I have a misunderstanding on the behavior of custodians. I'm trying to write a Racket program that shuts down any subprocesses it may have created when the program exits, regardless of whether the exit was graceful. I would have thought that the root custodian would have taken care of this