Multiple concurrent DynamicsWorlds
Posted: Tue Jul 22, 2014 8:19 pm
Hi Forum, I've got a very simple dynamic simulation working with JBullet. The simulation is a fitness test for a genetic algorithm so I typically run thousands-millions of simulations, devoting one thread per simulation. When I run the JBullet simulations with more than one thread, I get Exceptions typical of badly-synchronized Java code.
Before I put much more effort into my bug hunt, is it possible to execute many DynamicWorlds concurrently with Bullet? The only authoritative reference I can find is one from 2005 in which Erwin Coumans says
Is it still the case that DynamicsWorlds can only be run sequentially? If there's no prospect of getting the tests to run concurrently, I'll run them sequentially and wait a bit longer.
Before I put much more effort into my bug hunt, is it possible to execute many DynamicWorlds concurrently with Bullet? The only authoritative reference I can find is one from 2005 in which Erwin Coumans says
http://www.bulletphysics.org/Bullet/php ... 373#p12982You can only run multiple dynamics world sequentially, not in parallel
Is it still the case that DynamicsWorlds can only be run sequentially? If there's no prospect of getting the tests to run concurrently, I'll run them sequentially and wait a bit longer.