From 57c7c00ad7c0eeedfbd3684489d45b03c43b6c4a Mon Sep 17 00:00:00 2001 From: rahuel Date: Thu, 9 Feb 2006 15:28:56 +0000 Subject: [PATCH] =?utf8?q?Static=20m=C3=83=C2=B9utex=20not=20initialized?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/Basics/BasicsGenericDestructor.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ; -- 2.39.2