add C++11 thread samples.