[racket] racket and OS threads

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Mar 18 07:53:13 EDT 2011

At Fri, 18 Mar 2011 13:40:02 +0200, "Jukka Tuominen" wrote:
> (define loop
>   (lambda ()
>        (set! thread:child (thread (lambda () (system "gracket -f
> \""...rlt\""))))
>        (sleep 30)
>        (kill-thread thread:child)
>        (loop)))
> 
> 
> But, eventhough the racket process ends as expected, the OS process still
> stays alive.
> 
> Is there a way to kill the OS process as well?

See `current-subprocess-custodian-mode'.


Posted on the users mailing list.