From: <ric...@us...> - 2008-11-10 06:48:43
|
Revision: 905 http://loki-lib.svn.sourceforge.net/loki-lib/?rev=905&view=rev Author: rich_sposato Date: 2008-11-10 06:48:38 +0000 (Mon, 10 Nov 2008) Log Message: ----------- Removed thread_local storage qualifier for GCC. Add ctor initializer for GCC. Modified Paths: -------------- trunk/src/LevelMutex.cpp Modified: trunk/src/LevelMutex.cpp =================================================================== --- trunk/src/LevelMutex.cpp 2008-11-10 05:59:59 UTC (rev 904) +++ trunk/src/LevelMutex.cpp 2008-11-10 06:48:38 UTC (rev 905) @@ -4,9 +4,9 @@ // Copyright (c) 2008 Richard Sposato // 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 -// purpose is hereby granted without fee, provided that the above copyright -// notice appear in all copies and that both that copyright notice and this +// Permission to use, copy, modify, distribute and sell this software for any +// purpose is hereby granted without fee, provided that the above copyright +// notice appear in all copies and that both that copyright notice and this // permission notice appear in supporting documentation. // // The author makes no representations about the suitability of this software @@ -33,7 +33,7 @@ #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; @@ -960,6 +960,7 @@ // ---------------------------------------------------------------------------- MutexException::MutexException( const MutexException & that ) throw () : + ::std::exception( that ), m_message( that.m_message ), m_level( that.m_level ), m_reason( that.m_reason ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |