FairCom Corporation


F.60 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 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

ctThrdInit


FairCom Corporation
www.faircom.com