//include this header
#include <semaphore.h>
class GameEntity
{
public:
GameEntity()
{
//init semaphore, init with 1, 1 also crashes
sem_init(&nameLockSemaphore, 0, 1);
}
private:
//add this variable
mutable sem_t nameLockSemaphore;
};
svenskmand {l Wrote}:The msi package on sf worksBut I do not know what revision that is
I should probably put the GIT and SVN revision number into the builds I make when running my scripts :S
StefanP.MUC {l Wrote}:For some reason CEGUI::OgreRenderer::bootstrapSystem() fails when running in debug mode.
Users browsing this forum: No registered users and 0 guests