NPA_SpinTryLockDisable
Tries to acquire a specified spin lock without spin waiting to allow multiprocessor (MP) safe operations on shared data.
LONG NPA_SpinTryLockDisable ( LONG *lockStatus, LONG *CPUFlags);
The following table lists return values and descriptions.
NPA_SpinTryLockDisable disables interrupts on the currently processor only.
This disable form of the spin lock should be used in the process time code when code is used by both process time and interrupt time to avoid deadlocks with the interrupt time code.
Must be initialized using NPA_SpinLockInit before using it.
NPA_SpinTryLockDisable tries to acquire a specified spin lock without waiting and automatically disables interrupts only if lock is successfully acquired.
A TryLock can be used to avoid deadlocks.