[For complete, up-to-date TBB information visit: http://www.ThreadingBuildingBlocks.org]

TbbRef (Ver. 20): 2.4 Namespaces

2.4 Namespaces

This section describes reserved namespaces used by IntelĀ® Threading Building Blocks.

2.4.1 tbb Namespace

The library puts all public classes and functions into the namespace tbb.

Define TBB_DO_THREADING_TOOLS as 1 to enable full support for these tools. The debug version of the library always has full support enabled.

Leave TBB_DO_THREADING_TOOLS undefined or zero to enable top performance, at the expense of turning off some support for tools. In the current implementation, the only features affected are spin_mutex ( 6.1.3 ) and spin_rw_mutex ( 6.1.6 ).

3.1.1 split Class

Summary

Type for dummy argument of a splitting constructor

Syntax

class split;

Header

#include "tbb/tbb_stddef.h"

Description

An argument of type split is used to distinguish a splitting constructor from a copy constructor.

Members

namespace tbb {

class split {

};

}

[For complete, up-to-date TBB information visit: http://www.ThreadingBuildingBlocks.org]