Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is it thread safe?

In file modules\core\src\system.cpp there is this peace of code:

TLSData<CoreTLSData>& getCoreTlsData()
{
    static TLSData<CoreTLSData> *value = new TLSData<CoreTLSData>();
    return *value;
}

I am using Visual Studio 2013 and getting hard to reproduce crashes.

Is it thread safe?

In the file modules\core\src\system.cpp there is this peace of code:

TLSData<CoreTLSData>& getCoreTlsData()
{
    static TLSData<CoreTLSData> *value = new TLSData<CoreTLSData>();
    return *value;
}

I am using Visual Studio 2013 and getting hard to reproduce crashes.

Is it thread safe?

In the file modules\core\src\system.cpp there is this peace of code:

TLSData<CoreTLSData>& getCoreTlsData()
{
    static TLSData<CoreTLSData> *value = new TLSData<CoreTLSData>();
    return *value;
}

I am using Visual Studio 2013 and getting hard to reproduce crashes.