ndfLocked

Return information about any lock on an NDF

Description:

This functions returns information about any lock on the base NDF associated with the supplied NDF identifier. NDFs are locked and unlocked using functions ndfLock and ndfUnlock.

Invocation

result = ndfLocked( int indf, int status )

Arguments

indf
NDF identifier.
status
The global status.

Returned Value

0 - the base NDF is unlocked
1 - the base NDF is locked by the current thread
-1 - the base NDF is locked by some other thread

Notes: