Hi,

In message "Re: embedding Ruby 1.9.0 inside pthread"
    on Tue, 4 Mar 2008 09:30:34 +0900, Nobuyoshi Nakada <nobu / ruby-lang.org> writes:

|At Tue, 4 Mar 2008 07:50:00 +0900,
|Suraj Kurapati wrote in [ruby-core:15756]:
|> I'm having trouble embedding Ruby inside a pthread because calling
|> ruby_sysinit() is segfaulting.  I created a small example to reproduce
|> the problem and illustrate my humble goal.
|
|You can't call ruby_init() in child threads.

Because GC needs to know system stack address, that is only taken from
main thread.

							matz.