X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcore%2Fmt%2FRunnable.cpp;fp=source%2Fcore%2Fmt%2FRunnable.cpp;h=1570dbdc81628a5808e9caa7ce5782a4b86c4245;hp=582c2646e08b4f9cf67b7caa911cb7b82e744abb;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/core/mt/Runnable.cpp b/source/core/mt/Runnable.cpp index 582c264..1570dbd 100644 --- a/source/core/mt/Runnable.cpp +++ b/source/core/mt/Runnable.cpp @@ -13,13 +13,13 @@ using namespace std; using namespace anna; void Runnable::requestStop() -throw(RuntimeException) { +noexcept(false) { if(a_isRunning == true) a_requestedStop = true; } void Runnable::run() -throw(RuntimeException) { +noexcept(false) { a_requestedStop = false; while(hasRequestedStop() == false) {