From: rahuel Date: Thu, 9 Feb 2006 15:28:56 +0000 (+0000) Subject: Static mùutex not initialized X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=57c7c00ad7c0eeedfbd3684489d45b03c43b6c4a;p=modules%2Fkernel.git Static mùutex not initialized --- diff --git a/src/Basics/BasicsGenericDestructor.cxx b/src/Basics/BasicsGenericDestructor.cxx index 91585a2ae..39d190bd8 100644 --- a/src/Basics/BasicsGenericDestructor.cxx +++ b/src/Basics/BasicsGenericDestructor.cxx @@ -37,7 +37,9 @@ using namespace std; void HouseKeeping(); std::list PROTECTED_DELETE::_objList; -pthread_mutex_t PROTECTED_DELETE::_listMutex; +//CCRT +pthread_mutex_t PROTECTED_DELETE::_listMutex = PTHREAD_MUTEX_INITIALIZER ; +//pthread_mutex_t PROTECTED_DELETE::_listMutex ; std::list *GENERIC_DESTRUCTOR::Destructors = 0; static bool atExitSingletonDone = false ;