|
|
Intel BlogsWhitepapers
|
Utilizing thread pools in performance-critical applicationsC++ Thread Pool Example: When using threading in a performance critical-applications like 3D games, it is possible for the overhead associated with thread creation and destruction to overwhelm the benefits of utilizing threads. One method to mitigate this problem is to use a thread pool. This document defines and provides examples of a C++ thread pool, as well as suggesting when and when not to use one and providing a sample implementation of a thread pool in C++. Learn more about thread pools for your C++ game programming and more in this tutorial.
by Blake Thompson, application engineer, Intel Corp.
When using threading in a performance critical-application, it is possible for the overhead associated with thread creation and destruction to overwhelm the benefits of utilizing threads. One method to mitigate this problem is to use a thread pool.
Subscribers who liked this article also read:
If you're interested in this topic, these articles may be helpful:
Related Jobs: |
|
|