diff --git a/cwThreadMach.cpp b/cwThreadMach.cpp index 6241fee..eedd59f 100644 --- a/cwThreadMach.cpp +++ b/cwThreadMach.cpp @@ -408,7 +408,7 @@ cw::rc_t cw::thread_tasks::run( handle_t h, task_t* taskA, unsigned taskN, unsig case kTimeOutRC: // mutex is unlocked p->mutexLockFl = false; - cwLogWarning("Thread tasks timed out."); + cwLogWarning("Thread tasks timed out after %i ms.",timeOutMs); break; default: diff --git a/cwThreadMach.h b/cwThreadMach.h index a38c5ac..d483404 100644 --- a/cwThreadMach.h +++ b/cwThreadMach.h @@ -34,7 +34,6 @@ namespace cw { typedef handle handle_t; - typedef thread::cbFunc_t threadFunc_t; // Create a thread tasks machine with threadN records rc_t create( handle_t& hRef, unsigned threadN );