Create a simple thread with c++11