OGRE_THREAD and Ogre 1.0

Problems building or running the engine, queries about how to use features etc.
Post Reply
thorgrim
Gnoblar
Posts: 17
Joined: Thu Oct 16, 2003 9:37 pm

OGRE_THREAD and Ogre 1.0

Post by thorgrim »

Hi,

I was trying to build Ogre with thread support with the RC1. Everything compile fine, but I am getting some runtime errors during the creation of the material manager.

Looks like some mutex are invalid as it crash during lock.

What this experimental code tested with RC1? Or do I need to something more than editing the OgreConfig.h?

Thanks



Path:

Root::Root()

// ..material manager
-> mMaterialManager = new MaterialManager();

-> mScriptContext.material.setNull();
-> release
-> void lock()
{
if (m_locked) throw lock_error();
lock_ops<Mutex>::lock(m_mutex); //m_mutex undefined
m_locked = true;
}
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 67
Contact:

Post by sinbad »

It's marked 'highly experimental' for a good reason - I had almost no time to test it. I did some low-level tests but never had the time for a complete test. Consider it not worthy of production work in 1.0.0 unless you have the time to do some extra work on it.
Post Reply