__clear_lock_up, __clear_lockd_up

Purpose

Clear Lock on Uniprocessor Systems, Clear Lock Doubleword on Uniprocessor Systems

Atomic store of the value into the variable at the address addr.

Prototype

void __clear_lock_up (const int* addr, int value);

void __clear_lockd_up (const long* addr, long value);

Parameters

addr
The address of the variable to be updated. Must be aligned on a 4-byte boundary for a single word and on an 8-byte boundary for a doubleword.
value
The new value to be assigned to the variable in addr.

Usage

__clear_lockd_up is only valid in 64-bit mode.