Removed thread_local storage qualifier for GCC. Add ctor initializer for GCC.

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@905 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
rich_sposato 2008-11-10 06:48:38 +00:00
parent c983337def
commit 7b4782d75e

View file

@ -4,9 +4,9 @@
// Copyright (c) 2008 Richard Sposato // Copyright (c) 2008 Richard Sposato
// The copyright on this file is protected under the terms of the MIT license. // The copyright on this file is protected under the terms of the MIT license.
// //
// Permission to use, copy, modify, distribute and sell this software for any // Permission to use, copy, modify, distribute and sell this software for any
// purpose is hereby granted without fee, provided that the above copyright // purpose is hereby granted without fee, provided that the above copyright
// notice appear in all copies and that both that copyright notice and this // notice appear in all copies and that both that copyright notice and this
// permission notice appear in supporting documentation. // permission notice appear in supporting documentation.
// //
// The author makes no representations about the suitability of this software // The author makes no representations about the suitability of this software
@ -33,7 +33,7 @@ using namespace ::std;
#define nullptr 0 #define nullptr 0
LOKI_THREAD_LOCAL volatile ::Loki::LevelMutexInfo * ::Loki::LevelMutexInfo::s_currentMutex = nullptr; volatile ::Loki::LevelMutexInfo * ::Loki::LevelMutexInfo::s_currentMutex = nullptr;
unsigned int ::Loki::MutexSleepWaits::sleepTime = 1; unsigned int ::Loki::MutexSleepWaits::sleepTime = 1;
@ -960,6 +960,7 @@ MutexException::MutexException( const char * message,
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
MutexException::MutexException( const MutexException & that ) throw () : MutexException::MutexException( const MutexException & that ) throw () :
::std::exception( that ),
m_message( that.m_message ), m_message( that.m_message ),
m_level( that.m_level ), m_level( that.m_level ),
m_reason( that.m_reason ) m_reason( that.m_reason )