Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

ctThrdSemapRel

Release one unit of a semaphore.

Short Name

ctThrdSemapRel()

Type

Threading function

Declaration

NINT ctThrdSemapRel(pctSEMAP semap)

Description

Release one unit of semaphore semap.

Return

Value

Symbolic Constant

Explanation

0

NO_ERROR

Successful function.

90

NQUE_ERR

Invalid qid.

92

QMRT_ERR

Queue memory error.

156

NTIM_ERR

Timeout, no unit available for semaphore semap.

514

CQUE_ERR

Queue could not be closed.

See FairCom DB Error Codes for a complete listing of valid FairCom DB error values.

Limitations

Can only be used with a ctThrd library.

See also

ctThrdSemapCls, ctThrdSemapGet, ctThrdSemapInit, ctThrdSemapTry

TOCIndex