astUnlock

Unlock an Object for use by other threads

Description:

Unlocks an Object previously locked using astLock, so that other threads can use the Object. See astLock for further details.

Synopsis

void astUnlock( AstObject this, int report )

Parameters:

this
Pointer to the Object to be unlocked.
report
If non-zero, an error will be reported if the supplied Object, or any Object contained within the supplied Object, is not currently locked by the running thread. If zero, such Objects will be left unchanged, and no error will be reported.

Applicability

Object
This function applies to all Objects.

Notes: