]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Static mùutex not initialized
authorrahuel <rahuel@opencascade.com>
Thu, 9 Feb 2006 15:28:56 +0000 (15:28 +0000)
committerrahuel <rahuel@opencascade.com>
Thu, 9 Feb 2006 15:28:56 +0000 (15:28 +0000)
src/Basics/BasicsGenericDestructor.cxx

index 91585a2ae1d1a92b4162e9f6b4c195575bfcde75..39d190bd880d00e84565d197bb4e73a652d8482d 100644 (file)
@@ -37,7 +37,9 @@ using namespace std;
 void HouseKeeping();
 
 std::list<PROTECTED_DELETE*> 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*> *GENERIC_DESTRUCTOR::Destructors = 0;
 static bool atExitSingletonDone = false ;