Created thread08.cpp sample program.