376 B
376 B
PR_JoinJob
Blocks the current thread until a job has completed.
Syntax
#include <prtpool.h>
NSPR_API(PRStatus) PR_JoinJob(PRJob *job);
Parameter
The function has the following parameter:
job-
A pointer to a {ref}
PRJobstructure returned by a {ref}PR_QueueJobfunction representing the job to be cancelled.
Returns
{ref}PRStatus