fune/docs/nspr/reference/pr_joinjob.rst
2022-02-02 17:19:51 +00:00

30 lines
413 B
ReStructuredText

PR_JoinJob
==========
Blocks the current thread until a job has completed.
Syntax
------
.. code:: eval
#include <prtpool.h>
NSPR_API(PRStatus) PR_JoinJob(PRJob *job);
Parameter
~~~~~~~~~
The function has the following parameter:
``job``
A pointer to a :ref:`PRJob` structure returned by a :ref:`PR_QueueJob`
function representing the job to be cancelled.
Returns
~~~~~~~
:ref:`PRStatus`