On Tue, Feb 05, 2008 at 02:41:30PM -0000, vinay_kumar611 wrote: > i would like to know how to use multithreading in a c++ program > using windows operating system. > > suggest me any books or good sites for this if there are any..
There is no standard way to do multithreading in C or C++. If you want portability you can use POSIX Threads (Pthreads). http://en.wikipedia.org/wiki/POSIX_Threads If you're only writing threading code for Windows you can call the CreateThread() function from the Windows API: http://msdn2.microsoft.com/en-us/library/ms682516(VS.85).aspx
