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 c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values.

Limitations

Can only be used with a ctThrd library.

See also

ctThrdData()