Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

ctThrdDataSet

Set a pointer to a private data area.

Short Name

ctThrdDataSet()

Type

Threading function

Declaration

NINT ctThrdDataSet(pVOID user_var)

Description

Set the pointer to the private thread data area for the calling thread to user_var.

Return

Value

Symbolic Constant

Explanation

0

NO_ERROR

Successful function.

535

REGC_ERR

Not called from within a valid thread.

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

ctThrdData

TOCIndex