TianoCore EDK2 master
Loading...
Searching...
No Matches
InterlockedIncrementMsc.c File Reference

Go to the source code of this file.

Functions

long _InterlockedIncrement (long *lpAddend)
 
UINT32 EFIAPI InternalSyncIncrement (IN volatile UINT32 *Value)
 

Detailed Description

InterLockedIncrement function

Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file InterlockedIncrementMsc.c.

Function Documentation

◆ _InterlockedIncrement()

long _InterlockedIncrement ( long *  lpAddend)

Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.

◆ InternalSyncIncrement()

UINT32 EFIAPI InternalSyncIncrement ( IN volatile UINT32 *  Value)

Performs an atomic increment of an 32-bit unsigned integer.

Performs an atomic increment of the 32-bit unsigned integer specified by Value and returns the incremented value. The increment operation must be performed using MP safe mechanisms. The state of the return value is not guaranteed to be MP safe.

Parameters
ValueA pointer to the 32-bit value to increment.
Returns
The incremented value.

Definition at line 35 of file InterlockedIncrementMsc.c.