I’m writing an application, which will cooperate with ruby files. So I
must use Ruby API (call ruby functions).
I’m using OpenMP to parallelize my program, but when I use more threads,
program terminates with ‘segmentation fault’. I cannot use any Ruby
function, because of this. Even when I identificate region as #critical,
I there any way how to solve this problem?