From: Rolando Abarca Date: 2009-08-12T03:34:13+09:00 Subject: [ruby-core:24867] Re: embedding ruby 1.9 frustration 2009/8/11 Rados��aw Bu��at : > I don't know exactly what's wrong in your approach but AFAIK when > embeding ruby you can call function from Ruby API only from the same > thread where ruby interpreter was initialized and run. If you want to > syncronize or communicate with other threads you probably must use > some none rubyish functions and structures. Yes... I thought about that, but that wouldn't be the case here: I'm testing if I'm in the same thread (actually, the mainThread) both at the start of the interpreter and when calling ruby code, so yes, I'm in the same thread :-( > -- > Pozdrawiam > > Rados��aw Bu��at > http://radarek.jogger.pl - m��j blog regards, -- Rolando Abarca http://rolando.cl