thrGetJobData

Returns a job data pointer that was supplied when the job was created

Description:

This function returns the pointer that was supplied as argument " data" when thrAddJob was called to create the specified job.

Invocation

void thrGetJobData( int ijob, ThrWorkForce workforce, int status )

Arguments

ijob
Identifier for the job.
workforce
Pointer to the workforce. NULL should be supplied if this function is called from within a job executing in a worker thread.
status
Pointer to the inherited status value.

Returned Value

The pointer to the job data. NULL is returned if the job is not
found, but no error is reported.