Alex Rivera | Logout

PThread vs boost::thread?

Asked 2010-01-31T01:45:02.567
24

Having no experience with threading in the past, which threading technique in C++ will be the easiest for a beginner? boost::thread or pthreads?

Edit
Report

1 Answer

9

boost::thread is a very nice and portable abstraction. I would certainly use it, but also learn the native thread api, like pthreads, so that you know how threading works on your platform.

answered 2010-01-31T01:46:29.273

Your Answer