NPA_MutexFree

Frees specified mutex resources used in multiprocessor (MP) safe operation.

Thread Context:Blocking
Requirements:The memory location must be valid or the server abends.

Syntax

    LONG NPA_MutexFree (
       LONG  mutexHandle
    );
    
    

Parameters

mutexHandle
(IN) Mutex handle obtained from NPA_MutexAlloc.

Return Values

The following table lists return values and descriptions.

0x0000

Successful deallocation.

0x0001

Attempt to free a busy mutex or one with threads blocked on it.

0x1010

Invalid mutex handle.

Remarks

Deallocates the mutex.