Change the signature of pthreadpool_finished_job() to return 0