July 2007
Intermediate to advanced
332 pages
10h 4m
English
As emphasized earlier in this chapter, the Threading Building Blocks containers are not likely to provide adequate performance when used with general C++ memory routines. A production-quality solution to memory allocation requires some custom memory-allocation functions that reflect your operating system and C++ compiler. You can make the replacement in one of the following ways:
Replace malloc/free and related memory routines (C programs).
Replace global new and delete operators (C++ programs).