-4
\$\begingroup\$

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?

\$\endgroup\$

closed as off-topic by Tyyppi_77, Engineer, DMGregory, Kromster, Josh Sep 8 '17 at 15:19

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about "how to get started," "what to learn next," or "which technology to use" are discussion-oriented questions which involve answers that are either based on opinion, or which are all equally valid. Those kinds of questions are outside the scope of this site. Visit our help center for more information." – Tyyppi_77, DMGregory, Kromster, Josh
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    \$\begingroup\$ You should at least check if the functions and classes you use from that library are thread safe. \$\endgroup\$ – Roy T. May 31 '12 at 19:07
  • \$\begingroup\$ OffTopic. Programming related - belongs to StackOverflow. \$\endgroup\$ – kravemir Jul 2 '12 at 18:18
1
\$\begingroup\$

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

\$\endgroup\$
  • 2
    \$\begingroup\$ Care to share answer to question: Why? \$\endgroup\$ – edin-m Jun 30 '12 at 10:44
0
\$\begingroup\$

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.

\$\endgroup\$

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