Queues a job to a thread pool for execution.
#include <prtpool.h> NSPR_API(PRJob *) PR_QueueJob( PRThreadPool *tpool, PRJobFn fn, void *arg, PRBool joinable );
The function has the following parameters:
tpoolPRThreadPool structure previously created by a call to PR_CreateThreadPool.fnargfn.joinablePR_TRUE, the job is joinable. If PR_FALSE, the job is not joinable. See PR_JoinJob.Pointer to a PRJob structure or NULL on error.