This is the documentation for for an older version of Qube.
Documentation for the latest release is available here.
This function is called for every thread before executing the qb_jobcmp() function.