F.56 ctThrdData
Returns a pointer to a private data area.
Short Name
ctThrdData
TYPE
Threading function
DECLARATION
pVOID ctThrdData()DESCRIPTION
Returns a pointer to the private data area of the current thread, set up during ctThrdCreate. A NULL return is possible if user_var was NULL at thread create, or if current thread does not appear to have been created within the context of the API.
For efficiency, if a function makes more than one reference to the private data area, a pointer to the area should be included on the functions stack and initialized by a call to this function.
RETURN
See Description.
LIMITATIONS
Can only be used with a ctThrd library.
SEE ALSO
ctThrdDataSet
|
FairCom Corporation www.faircom.com |