Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

ctThrdHandle

Returns a thread identifier.

Short Name

ctThrdHandle()

Type

Threading function

Declaration

NINT ctThrdHandle()

Description

Returns a small thread identifier corresponding to the calling thread. This identifier can be reassigned to a new thread once the original thread goes away via ctThrdExit().

Return

See Description. On error, check sysiocod for the system level error return. 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

ctThrdInit, ctThrdExit

TOCIndex