[ODE] ODE in its own thread

Shaul Kedem shaul_kedem at yahoo.com
Fri Jul 18 04:59:02 2003


Patrik,
 If I understood correctly you are simply simulating
one thread run over several threads. Well.. why ?

 Surely you can do everything in the same thread with
some switch case or something ...

 But hey, it's your code :)

Shaul

--- Patrik Stellmann <patrik@volleynet.de> wrote:
> Since I have several threads - one per view to
> render and several others 
> to simulate sensors and controllers - that need to
> access imformation 
> about the objects I'm running ode in another thread
> (synchronization is 
> done via a request queue and at every time only one
> thread is running 
> while the others wait). But I didn't do that to get
> any performance 
> boost but simply because any single threaded way
> would be way more 
> complex...
> 
> 
> _______________________________________________
> ODE mailing list
> ODE@q12.org
> http://q12.org/mailman/listinfo/ode


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com