Hi,

At Wed, 18 Nov 2009 15:55:07 +0900,
Suraj Kurapati wrote in [ruby-core:26797]:
> Sorry to be impatient, but has there been any
> further decision or consideration about this patch?

Sorry to be late.

> The only feedback I've received so far is that:
> 
> * An early version of this patch did not support
>   multi-threading (thanks to Mr. Nobu).
> 
> * A later version of this patch worked for embedding
>   Ruby 1.9 inside a pthread (thanks to Mr. Roman).

Switching stack using setcontext() can't work on all platforms.
For instance, on NetBSD and older LinuxThread stack address is
tightly bound to thread, and can't be changed.  That is, your
strategy is not portable.

Why don't you simply use a thread instead?

-- 
Nobu Nakada