Integration Wrappers for Intel® Integrated Performance Primitives Developer Guide and Reference 2019

iwTls_Init

Syntax

IW_DECL(IppStatus) iwTls_Init(
    IwTls          *pTls,     
    IwTlsDestructor destructor
);

Parameters

pTls

Pointer to the IwTls structure.

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

The pTls pointer is NULL.

ippStsErr

Internal TLS error.