[racket-dev] Thread exit status

From: Eli Barzilay (eli at barzilay.org)
Date: Sat Oct 22 21:53:25 EDT 2011

Four hours ago, Tony Garnock-Jones wrote:
> On 2011-10-22 5:10 PM, Eli Barzilay wrote:
> > I don't see how why that cannot be built on top of `delay/thread'.
> 
> Because
> 1. the threads may not have been started via delay/thread, and
> 2. there is no way to get from (current-thread) to the promise.
> 
> My best bet so far seems to be something along the lines of
> https://gist.github.com/1306106, perhaps simplified to only deal with
> exceptions.

I'm not following "may not have been started via `delay/thread'" -- in
your example you also need to define a new `standard-thread' to start
them, so you need something other than `thread' anyway.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!


Posted on the dev mailing list.