This directory contains simple thread examples. makefile Change the APP variable in the makefile to compile the different examples in this directory. nothread.cpp This code demonstrates a simple single-thread application. thread.mak Visual C++ project file. Change the file in the project to compile the different examples in this directory. thread1a.cpp This code demonstrates a simple multi-threaded program. thread1.cpp This code demonstrates passing a parameter to a thread function. thread2.cpp This code shows how to pass a structure to a thread function. thread3.cpp This code shows how to create multiple instances of a single thread function. thread4.cpp This code demonstrates thread local storage.