NPA_SpinLockInit

Initializes a specified spin lock to allow multiprocessor (MP) safe operations on shared data.

Thread Context:Non-Blocking

Syntax

    LONG NPA_SpinLockInit (
       LONG  *lockStatus
       );
    
    

Parameters

lockStatus
(IN) Address of the spin lock to be initialized.

Return Values

The following table lists return values and descriptions.

0x0000

Successful initialization.

0x1018

Invalid spinlock pointer.