RTI Connext Traditional C++ API Version 7.3.1

APIs to configure some global settings. More...

Static Public Member Functions

static void enable_automatic_tss_cleanup (DDS_Boolean enable)
 Enable automatic thread-specific storage (TSS) cleanup on platforms that support it. More...
 

Detailed Description

APIs to configure some global settings.

Member Function Documentation

◆ enable_automatic_tss_cleanup()

static void NDDSConfig::enable_automatic_tss_cleanup ( DDS_Boolean  enable)
static

Enable automatic thread-specific storage (TSS) cleanup on platforms that support it.

This API must be called before any other RTI Connext API. Automatic TSS cleanup is disabled by default.

Setting it to one value and then setting it to the opposite value after any RTI Connext API has been called may result in undefined behavior.

Refer to the Platform Notes to see if your platform supports automatic TSS cleanup. It will be mentioned in the 'Thread Configuration' sub-section of the platform you are using.

See also
DDSDomainParticipantFactory::unregister_thread