[ODE] Threads and ODE?

eugen.udrea@ascensys.ro eugen.udrea at ascensys.ro
Sun Jun 17 04:06:25 MST 2007


U need to make sure u access ODE objects from one thread at a time.. If u
want to access it from another thread which is different than the one ure
using to update the simulation make sure u syncronize the acess to ODE
objects while doing it. Also u need to make sure ure exposing objects to
another thread in a consistent state

-----Original Message-----
From: ode-bounces at ode.org [mailto:ode-bounces at ode.org] On Behalf Of Chris
Spencer
Sent: Sunday, June 17, 2007 9:59 AM
To: pyode-user at lists.sourceforge.net; ode at ode.org
Subject: [ODE] Threads and ODE?

I'm unable to run a small ODE simulation for more than a couple
minutes before ODE crashes with the error:

ODE INTERNAL ERROR 2: invalid operation for locked space in dGeomMoved()

Is this caused by ODE's buggy memory management, or is it something
I'm doing? I'm manipulating ODE objects in a separate thread from the
one running the ODE simulation. Could that be causing the error? What
would be the best way to update a simulation from multiple threads
without having to pause the simulation?

Thanks,
Chris
_______________________________________________
ODE mailing list
ODE at ode.org
http://ode.org/mailman/listinfo/ode



More information about the ODE mailing list