NPA_Xchg
Atomic exchange function for multiprocessor (MP) safe operation.
LONG NPA_Xchg (
LONG *value1,
LONG value2
);
The original 32-bit value from value1.
Stores value2 at the address specified by value1, and returns the original quantity pointed to by value1.