Utilizing thread pools in performance-critical applications

C++ 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.
It's free!

Subscribers who liked this article also read:
Maximum FPS: three tips for faster code
by Dean Macri, Solutions Enabling Group, Intel Corp. Welcome back t...

If you're interested in this topic, these articles may be helpful:

The pillars of application quality: security, functionality, and performance testing
from SPI Dynamics Inc. As enterprises put more essential daily busi...
Intel® VTune™ Performance Analyzer Version 7.2 for Windows
Streamline your code in just a few clicks, collect, analyze and displa...
High-performance computing for the enterprise draws near
by Edmund X. DeJesus, technical writer. Intel Corp. Can high-perfor...
J2EE performance optimization, part 3 - design of experiments for performance tuning
by Kingsum Chow, Ph.D., senior performance architect, Managed Runtime ...
Accelerating .NET applications with the Intel VTune Performance Analyzer 6.1
by Alan Zeichick, The Intel VTune Performance Analyzer is more than...

Related Jobs:

Technical Lead - Search Technology #4E36ED6ACAA49C6A - CA - Oakland - Ask Jeeves,Inc.
Title Technical Lead - Search Technology City Oakland State CA ...
SW Productization Engineer #6803 - CA - Foster City - Electronics For Imaging,Inc.
Productization Software Engineer We are looking for a productiz...
Senior Software Engineer, Online Search Development #13B990DAFA945403 - NJ - Edison - Ask Jeeves,Inc.
Title Senior Software Engineer, Online Search Development City Ediso...
Playstation3 Graphics Engineer #14980 - CA - Woodland Hills - Activision, Inc.
Playstation3 Graphics Engineer Apply Online De...
Build Engineer #548 - WA - Seattle - Surreal Software
Build Engineer Category: ATG Type: Description: Surreal...
Sr Software Engineer #06-0307TS - CA - Calabasas - Ixia
Ixia is a leading, global provider of high performance IP network test...
3D Graphics developers (2 full-time positions) - Quebec - Montreal - Feeling Software
We are seeking highly talented and brilliant individuals to grow our t...
Software Architects/Lead Developers - NY - New York City - DoubleBridge Technologies
Responsible for DoubleBridge clients' Systems Integration and Software...
VR Studio - Game Systems Programmer #39582 - CA - North Hollywood - The Walt Disney Internet Group
VR Studio - Game Systems Programmer posted 9/28/2006 North Hollywoo...
Senior Software Engineer, Online Search Development #2E47E5FFAD08ABB2 - NJ - Edison - Ask Jeeves,Inc.
Title Senior Software Engineer, Online Search Development City Ediso...