From: Jason Roelofs Date: 2008-05-02T21:43:59+09:00 Subject: Re: How do I embed a Ruby interpreter in my C program? No, you cannot reliably run Ruby across threads. It's just not possible. Pick one thread to house Ruby and keep it there. Jason On Fri, May 2, 2008 at 5:34 AM, Ivan Gromov wrote: > Yes 'Rice' is quite impressive. > > But i just want to use 'ruby_init()', 'ruby_finalize()' at the main > thread. > And 'rb_load_protect()' at the other thread. > Is it possible ? And how ? > > > -- > Posted via http://www.ruby-forum.com/. > >