Logan Capaldo
8/21/2006 12:27:00 PM
On Aug 20, 2006, at 6:11 PM, Sander Land wrote:
> On 8/20/06, Logan Capaldo <logancapaldo@gmail.com> wrote:
>> Anyone have a cool explanation?
>
> Ruby errors in a thread often don't show up.
>
> Thread.new { cc.call(nil) rescue $stderr << $!.inspect }
> => #<RuntimeError: continuation called across threads>
>
> Neat idea btw, too bad it doesn't work.
>
That's disappointing. I didn't really want to call it across threads
either (I wanted more like a thread-local "copy" of the
continuation). You can't always get what you want I suppose.