In message "Re: Segmentation fault at raise exception."
on Sun, 25 Apr 2010 02:10:04 +0900, O01eg Oleg <o01eg / yandex.ru> writes:
|Thanks. Do I have to use this wrap for each thread which use ruby code?
You have to wrap every call for Ruby related (possibly exception
raising) functions, e.g. rb_require, rb_eval_string, etc. And bad
news is that if you call ruby functions from different threads, they
might crash, since some (or most) of them are not thread-safe.
matz.