FairCom Corporation


F.53 ctThrdBlockRel


Releases a block.

Short Name

ctThrdBlockRel

TYPE

Threading function

DECLARATION

NINT ctThrdBlockRel(pctBLOCK block)

DESCRIPTION

Releases the block referenced by block. It is NOT necessary for the same thread that acquired the block to release it.

RETURN

Value
Symbolic Constant
Explanation
0
NO_ERROR
Successful function.
637
TSYR_ERR
block release failed.

See Appendix A "c-tree Plus Error Codes" of the c-tree Plus Programmer's Reference Guide for a complete listing of valid c-tree Plus error values.

LIMITATIONS

Can only be used with a ctThrd library.

SEE ALSO

ctThrdBlockCls, ctThrdBlockGet, and ctThrdBlockWait.


FairCom Corporation
www.faircom.com