Re: error-kit and threads

2009-02-25 Thread Jeffrey Straszheim
Awesome! Thanks. And I can't think of a better way. This is ultimately the same problem found in this sort of code: (let [something-we-need-to-close (open whatever)] (try (something-lazy something-we-need-to-close) (finally (close something-we-need-to-close This was discussed recen

Re: error-kit and threads

2009-02-25 Thread Chouser
On Wed, Feb 25, 2009 at 12:32 PM, Chouser wrote: > On Wed, Feb 25, 2009 at 9:05 AM, Jeffrey Straszheim > wrote: >> Does the stuff in error kit work across thread boundaries.  I'm thinking, >> for instance, if you run a computation using pmap, the individual >> computations are run inside of Java

Re: error-kit and threads

2009-02-25 Thread Chouser
On Wed, Feb 25, 2009 at 9:05 AM, Jeffrey Straszheim wrote: > Does the stuff in error kit work across thread boundaries.  I'm thinking, > for instance, if you run a computation using pmap, the individual > computations are run inside of Java futures, which will propagate exceptions > back to the c