Re: [racket-users] Custodian/Will question

2016-04-21 Thread Deren Dohoda
Thanks, Matthew. There's safety and then there's safety. I'm mostly concerned with and application-level soft reset. I can add some thread messaging to make sure the thread dies on its own, then shut down everything. I was hoping to avoid this plumbing. Deren On Apr 21, 2016 10:40 AM, "Matthew

[racket-users] Custodian/Will question

2016-04-19 Thread Deren Dohoda
Hi Racketeers, I'm a little unclear on the right way to use custodians and wills. I have a thread that can only be shut down during certain points: it does some writing operations on a port and this write must finish under normal circumstances. I worry that if this thread is managed by a