On Wed, Jul 19, 2006 at 11:18:27PM +0900, why the lucky stiff wrote:
> On Wed, Jul 19, 2006 at 08:00:15PM +0900, Mauricio Fernandez wrote:
>
> > So it doesn't support concurrent non-sandboxed Threads, right?
> 
> Right, I don't have an answer for that yet.  I'd need to find a way to swap the
> environment back in when the context changes.

This looks like the sort of thing you'd want rb_thread_restore_context to do,
but there's no hope without patching the interpreter :-|

Would it be acceptable to add something resembling the event_hook subsystem,
for context switches?

-- 
Mauricio Fernandez  -   http://eigenclass.org   -  singular Ruby