TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
long | _InterlockedDecrement (long *lpAddend) |
UINT32 EFIAPI | InternalSyncDecrement (IN volatile UINT32 *Value) |
InterlockedDecrement function
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file InterlockedDecrementMsc.c.
long _InterlockedDecrement | ( | long * | lpAddend | ) |
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
UINT32 EFIAPI InternalSyncDecrement | ( | IN volatile UINT32 * | Value | ) |
Performs an atomic decrement of an 32-bit unsigned integer.
Performs an atomic decrement of the 32-bit unsigned integer specified by Value and returns the decrement value. The decrement 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 decrement. |
Definition at line 35 of file InterlockedDecrementMsc.c.