Created thread11.cpp sample program.