i googled around and found this boost library for C++. It seems extremely huge 
(and not specifically for thread only) but most site use this one.
any experience on this one? is it better than pthread?

thanks in advance :)


--- On Fri, 4/24/09, Brett McCoy <[email protected]> wrote:

> From: Brett McCoy <[email protected]>
> Subject: Re: [c-prog] multithreading in C++: platform specific?
> To: [email protected]
> Date: Friday, April 24, 2009, 4:37 PM
> 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