X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcore%2Fmt%2FThreadManager.cpp;fp=source%2Fcore%2Fmt%2FThreadManager.cpp;h=a680baa0d15151b0eab542d08d6d43c5d6bf7ace;hp=956e9aea0a15e5e711afa3c46d5350f0639a5757;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/core/mt/ThreadManager.cpp b/source/core/mt/ThreadManager.cpp index 956e9ae..a680baa 100644 --- a/source/core/mt/ThreadManager.cpp +++ b/source/core/mt/ThreadManager.cpp @@ -68,7 +68,7 @@ ThreadManager::~ThreadManager() { } Thread* ThreadManager::createThread() -throw(RuntimeException) { +noexcept(false) { Thread* result; if(a_mode == Mode::None) { @@ -136,7 +136,7 @@ throw(RuntimeException) { } void ThreadManager::join() -throw(RuntimeException) { +noexcept(false) { LOGDEBUG( string msg("ThreadManager::join (init) | "); msg += asString(); @@ -184,7 +184,7 @@ throw(RuntimeException) { } void ThreadManager::releaseThread(Thread* thread) -throw(RuntimeException) { +noexcept(false) { if(thread->isRunning() == true) { string msg(thread->asString()); msg += " | Still activated"; @@ -210,7 +210,7 @@ throw(RuntimeException) { } string ThreadManager::asString() const -throw() { +{ string result("anna::ThreadManager { Name: "); result += a_name; result += " | Mode: ";