TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
long | _InterlockedIncrement (long *lpAddend) |
UINT32 EFIAPI | InternalSyncIncrement (IN volatile UINT32 *Value) |
InterLockedIncrement function
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file InterlockedIncrementMsc.c.
long _InterlockedIncrement | ( | long * | lpAddend | ) |
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
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.
Value | A pointer to the 32-bit value to increment. |
Definition at line 35 of file InterlockedIncrementMsc.c.