Such as the function "OCI_ConnectionCreate". When this function is called by multiple threads at the same time, an error. This means that the ocilib is not multi-thread safe?
Wrong location: _CRTIMP PFLS_GETVALUE_FUNCTION cdecl set_flsgetvalue() {
PFLS_GETVALUE_FUNCTION flsGetValue = FLS_GETVALUE; if (!flsGetValue) { flsGetValue = _decode_pointer(gpFlsGetValue); TlsSetValue(__getvalueindex, flsGetValue); } return flsGetValue;
return NULL;
}
Such as the function "OCI_ConnectionCreate".
When this function is called by multiple threads at the same time, an error.
This means that the ocilib is not multi-thread safe?
Wrong location:
_CRTIMP PFLS_GETVALUE_FUNCTION cdecl set_flsgetvalue()
{
ifndef _M_AMD64
PFLS_GETVALUE_FUNCTION flsGetValue = FLS_GETVALUE;
if (!flsGetValue)
{
flsGetValue = _decode_pointer(gpFlsGetValue);
TlsSetValue(__getvalueindex, flsGetValue);
}
return flsGetValue;
else / _M_AMD64 /
return NULL;
endif / _M_AMD64 /
}