Colobot
|
Thread that runs functions, one at a time. More...
#include <src/common/thread/worker_thread.h>
Public Types | |
using | ThreadFunctionPtr = std::function< void()> |
Public Member Functions | |
CWorkerThread (std::string name="") | |
void | Start (ThreadFunctionPtr func) |
CWorkerThread (const CWorkerThread &)=delete | |
CWorkerThread & | operator= (const CWorkerThread &)=delete |
Thread that runs functions, one at a time.