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

iwAtomic_AddInt

Syntax

IW_DECL(int) iwAtomic_AddInt(int *pInt, int delta);

Parameters

pInt

Pointer the input integer value.

delta

Value to add.

Description

This function performs thread-safe addition operation on an integer variable.

Return Values

Value of the variable before the operation.