tor-browser

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

pr_canceljob.rst (408B)


      1 PR_CancelJob
      2 ============
      3 
      4 Causes a previously queued job to be canceled.
      5 
      6 
      7 Syntax
      8 ------
      9 
     10 .. code::
     11 
     12   #include <prtpool.h>
     13 
     14   NSPR_API(PRStatus) PR_CancelJob(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`