Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

When multithreading a game what do i need to think about when picking the Libraries when developing for pc? I have been looking at process.h and was wondering if there are any big downsides (like speed or stability) whit this library and if i should look at something else?

share|improve this question
1  
You should at least check if the functions and classes you use from that library are thread safe. –  Roy T. May 31 '12 at 19:07
    
OffTopic. Programming related - belongs to StackOverflow. –  Miro Jul 2 '12 at 18:18

2 Answers 2

The only decent C++ multithreading libraries are TBB and Microsoft's PPL. Picking anything else is begging for trouble.

share|improve this answer
1  
Care to share answer to question: Why? –  Edin M. Jun 30 '12 at 10:44

Your question is a bit vague ("a game"... any game?) but I doubt you will have trouble with a "library" so much as your actual engine design. The harder/est part is to code your engine in such a way is that multi-threading is implemented correctly; picking a library (probably more appropriately, a language) that handles this well is almost trivial.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.