FairCom Corporation


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

ctThrdData


FairCom Corporation
www.faircom.com