views:

58

answers:

3

how to use threading on windows platform, do i need to include some lib or dll file, is there some command?

+4  A: 

I'd use Boost.Thread, with which you gain portability as well as ease of use.

usta
+3  A: 

The Windows API (Win32) includes a number of threading tools.

Since you tagged this as C++ and not C, you might however consider using something more elaborate like just::thread (or std::thread if your compiler supports it) or Boost.Thread like usta suggested.

Martin
+1  A: 

Use the general CRT/ Windows API handles & functions (_beginthread, _beginthreadex, etc.) or MFC classes, like this example.

rursw1
Matteo Italia
Correct. Thank you.
rursw1