tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

pr_joinjob.rst (408B)


      1 PR_JoinJob
      2 ==========
      3 
      4 Blocks the current thread until a job has completed.
      5 
      6 
      7 Syntax
      8 ------
      9 
     10 .. code::
     11 
     12   #include <prtpool.h>
     13 
     14   NSPR_API(PRStatus) PR_JoinJob(PRJob *job);
     15 
     16 
     17 Parameter
     18 ~~~~~~~~~
     19 
     20 The function has the following parameter:
     21 
     22 ``job``
     23   A pointer to a :ref:`PRJob` structure returned by a :ref:`PR_QueueJob`
     24   function representing the job to be cancelled.
     25 
     26 
     27 Returns
     28 ~~~~~~~
     29 
     30 :ref:`PRStatus`