X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fthread.cpp;fp=source%2Fcore%2Fthread.cpp;h=ad78d945cbd85e995d954ba6411964ccaa702421;hp=841cc3f48e8111a894dc9151268fce3858dcd4f0;hb=1787d4928ac1285f5434a2c8d0676deea9ce9176;hpb=3bfc22d12b893d94cbb4697a77b7cababcbbd921 diff --git a/source/core/thread.cpp b/source/core/thread.cpp index 841cc3f..ad78d94 100644 --- a/source/core/thread.cpp +++ b/source/core/thread.cpp @@ -1,4 +1,4 @@ -#include +#include "except.h" #include "thread.h" #include "thread_private.h" @@ -39,7 +39,7 @@ void Thread::kill() void Thread::launch() { if(_state>=RUNNING) - throw logic_error("already launched"); + throw already_called("Thread::launch"); platform_launch(); _state = RUNNING;