Custodian/Will question
Deren Dohoda <[email protected]>
| Newsgroups | gmane.comp.lang.racket.user,gmane.lisp.scheme.plt |
|---|---|
| Message-ID | <CAE-rtp=M94fWd_hEOu6DAa_eOvkHi1ZXxf+4f+MYe=4L+zuC3g@mail.gmail.com> |
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 custodian and custodian-shutdown-all is called that the thread may die in the middle of a write operation on a port. Is this where I would use a will? I don't quite understand how this behavior is intended to be supported. Thanks for any advice, Deren -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] For more options, visit https://groups.google.com/d/optout.