From: Roger Pack Date: 2009-08-12T21:18:25+09:00 Subject: [ruby-core:24884] Re: embedding ruby 1.9 frustration > I'm getting really frustrated, because there's almost no documentation > on how to embed ruby 1.9, and how to treat code that might call the VM > on an async way (some calls to rb_funcall might be called when there's > already some ruby code running, I'm thinking that might be the problem > here). I thought that adding rb_thread_blocking_region_begin/end() was > the solution, but I'm still getting random crashes... Perhaps try using only rb_thread_blocking_region()? -r