From: Yukihiro Matsumoto Date: 2008-03-04T10:16:36+09:00 Subject: Re: embedding Ruby 1.9.0 inside pthread Hi, In message "Re: embedding Ruby 1.9.0 inside pthread" on Tue, 4 Mar 2008 09:30:34 +0900, Nobuyoshi Nakada 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.