[plt-scheme] capturing exception raised in another thread

Noel Welsh noelwelsh at gmail.com
Mon May 11 05:07:29 EDT 2009


On Sun, May 10, 2009 at 8:01 PM, YC <yinso.chen at gmail.com> wrote:
> where does the exception go when it is raised in a thread context?

uncaught-exception-handler, if no handler is installed.

> Can
> another thread handle those exceptions if they escape the originating
> thread?

Yes. Install your own handler and pass the exception to the thread of
your choice, via the normal inter-thread communication mechanisms.

N.


More information about the plt-scheme mailing list