I integrated the latest Newton library from Feb 19th and my application would freeze if the threadCount is set
to anything greater than 1 and when it starts to use multiple cores as seen in the task manager.
I have a vista ultimate and 32 bit app.
And I initialize newton as follows:
OgreNewt::World* nworld = new OgreNewt::World(PhysicsAlloc, PhysicsFree);
char desc[256];
int park = NewtonGetPlatformArchitecture(nworld->getNewtonWorld(), desc);
nworld->setPlatformArchitecture(park);
// set linear solver model for faster simulation
nworld->setSolverModel(4);
// use all threads available
nworld->setThreadCount(4);
// 0 - exact, 1 - speed
nworld->setFrictionModel(1);
// multithread island
NewtonSetMultiThreadSolverOnSingleIsland (nworld->getNewtonWorld(), 1);
Any clue why the simulation would lock up like this?
Thanks,
Steve