iwTls_Init
iwTls_Init
Syntax
IW_DECL(IppStatus) iwTls_Init(
IwTls *pTls,
IwTlsDestructor destructor
);
Parameters
- pTls
- Pointer to theIwTlsstructure.
- destructor
- Pointer to the object destruction function.
Description
This function initializes the TLS structure, reserves the TLS index, and, if necessary, assigns a destruction function.
Return Values
- ippStsNoErr
- No errors.
- ippStsNullPtrErr
- ThepTlspointer isNULL.
- ippStsErr
- Internal TLS error.