added thread files for c++11