Created thread15.cpp sample program.