July 2007
Intermediate to advanced
332 pages
10h 4m
English
The macro TBB_DO_ASSERT controls whether error checking is enabled in the header files. Define TBB_DO_ASSERT as 1 to enable error checking.
If an error is detected, the library prints an error message on stderr and calls the standard C routine abort. To stop a program when internal error checking detects a failure, place a breakpoint on tbb::assertion_failure.
On Windows systems, debug builds implicitly set TBB_DO_ASSERT to 1.