The main library namespace. More...
|Different approaches and techniques for supporting high-concurrent data structure. |
|Atomic primitives. |
|Different backoff schemes. |
|Bit operations. |
|Standard (non-intrusive) containers. |
|C++11 Atomic library support. |
|Different safe memory reclamation schemas (garbage collectors) |
|Intrusive containers. |
|Framework to define template options. |
|OS specific wrappers. |
|Synchronization primitives. |
|Threading support. |
|User-space Read-Copy Update (URCU) namespace. |
|any_type is used as a placeholder for auto-calculated type (usually in |
|Bounded container. More...|
|Epoch-based retired ptr. More...|
|static void||Initialize (unsigned int nFeatureFlags=0)|
|Initialize CDS library. More...|
|static void||Terminate ()|
|Terminate CDS library. More...|
The main library namespace.
Initialize CDS library.
The function initializes
CDS library framework. Before usage of
CDS library features your application must initialize it by calling
Initialize() function, see how to use the library.
You can call
Initialize several times, only first call is significant others will be ignored. To terminate the
CDS library correctly, each call to
Initialize() must be balanced by a corresponding
Note, that this function does not initialize garbage collectors. To use GC you need you should call GC-specific constructor function to initialize internal structures of GC. See
cds::gc for details.
|nFeatureFlags||for future use, must be zero.|
Terminate CDS library.
This function terminates
CDS library. After
Terminate() calling many features of the library are unavailable. This call should be the last call of
CDS library in your application, see how to use the library.