On Fri, Apr 24, 2009 at 4:32 PM, Jos Timanta Tarigan
<[email protected]> wrote:

> Im trying to do a multithreading in C++ but i notice that some tutorials 
> using a lib which i dont have on my default compiler. is multithreading is an 
> add-on? does it come with default C++? Im using OS X, IDE: XCode and 
> compiler: gcc 4.0. how can I do multithreading in C++ using my machine?

Yep, C++ does not support threading natively like Java does. You will
need a 3rd party library to do threading. pthreads is a popular and
cross-platform threading library:

http://en.wikipedia.org/wiki/POSIX_Threads

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
    If I were to divulge it, it would overturn the world."
               -- Jelaleddin Rumi

Reply via email to