Colobot
|
Wrapper for using SDL_thread with std::function. More...
#include <src/common/thread/thread.h>
Public Types | |
using | ThreadFunctionPtr = std::function< void()> |
Public Member Functions | |
CThread (ThreadFunctionPtr func, std::string name="") | |
void | Start () |
void | Join () |
CThread (const CThread &)=delete | |
CThread & | operator= (const CThread &)=delete |
Wrapper for using SDL_thread with std::function.