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:
parent
c983337def
commit
7b4782d75e
1 changed files with 5 additions and 4 deletions
|
@ -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 )
|
||||||
|
|
Loading…
Reference in a new issue