Re: How to make Inline::Java work in parallel ?

2011-01-04 Thread ant
{ tests.add(i, new test()) ; } > static public test get_test (int i) { return (test)tests.get(i) ; } > private test() { } > public void sleep() throws InterruptedException { >Thread.sleep(1000) ; > } > } > > > Patrick >

RE: How to make Inline::Java work in parallel ?

2011-01-03 Thread ant
I made this work by turning off SHARED_JVM (because after a while it seemed to cause problems) and then loading the module that had Inline::Java in it at runtime in an eval instead because reconnect_JVM didn't seem to work right at all. so basically I did fork(); eval "use My::Module;";