OpenDOF Project
DOF_PCR_DECLSPEC PCRStatus PCRThread_Join ( PCRThread  thread)

Wait for a thread to finish running and cleanup.

This function should always be called prior to PCRThread_Destroy.

Parameters
threadThe thread for which to wait.
Returns
Returns PCRSTATUS_OK if successful, or PCRSTATUS_ERROR if there was an error.
Exceptions
ReturnsPCRSTATUS_ERROR if there was an error.
See Also
PCRThread_Destroy
PCRThread_Create
core-c-dof-oal Version 7.1.5 Build 0
2017-01-25