Re: is ODE multi-threaded?

"Jon Watte (ODE)" <[email protected]>
Newsgroups gmane.comp.lib.ode
Message-ID <[email protected]>

David Black wrote:

> I believe there can be value splitting the physics further than a 
> seperate thread for just physics, although mainly if you are (un)lucky 
> enough to be developing for a platform with more than two cores(I guess 
> this will include PC in the next year or two as well).


There absolutely can be value. However, ODE, as currently implemented, 
doesn't quite allow you to separate collision and simulation, because of 
the dGeomMoved() call. If that could be buffered and deferred, you could 
split into at least two threads. You could even use more threads, after 
collision broad-phase is done for a step.

Cheers,

			/ h+
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.