Previous Topic

Next Topic

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 c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values.

Limitations

Can only be used with a ctThrd library.

See also

ctThrdBlockCls(), ctThrdBlockGet(), ctThrdBlockWait()