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 PRJob structure returned by a PR_QueueJob function representing the job to be cancelled.

Returns

PRStatus