Add sample program to test thread call.