You are here:

C/swaping

Advertisement


Question
how to make multi threading in c++

Answer
Hello Harshal

C++ does not have any multi-threading features built into the language. To do multi-threading you need a thread library for your operating system. For Microsoft Windows, you can use the Microsoft threading API. Look at
http://msdn.microsoft.com/en-us/library/ms684254%28VS.85%29.aspx

For Linux, you can use Posix Threads.Look at
https://computing.llnl.gov/tutorials/pthreads/

Both libraries are used from C or C++

Good luck.
Best regards
Zlatko

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Zlatko

Expertise

No longer taking questions.

Experience

No longer taking questions.

Education/Credentials
No longer taking questions.

©2012 About.com, a part of The New York Times Company. All rights reserved.