tor-browser

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

pr_shutdownthreadpool.rst (440B)


      1 PR_ShutdownThreadPool
      2 =====================
      3 
      4 Notifies all threads in a thread pool to terminate.
      5 
      6 
      7 Syntax
      8 ------
      9 
     10 .. code::
     11 
     12   #include <prtpool.h>
     13 
     14   NSPR_API(PRStatus) PR_ShutdownThreadPool( PRThreadPool *tpool );
     15 
     16 
     17 Parameter
     18 ~~~~~~~~~
     19 
     20 The function has the following parameter:
     21 
     22 ``tpool``
     23   A pointer to a :ref:`PRThreadPool` structure previously created by a
     24   call to :ref:`PR_CreateThreadPool`.
     25 
     26 
     27 Returns
     28 ~~~~~~~
     29 
     30 :ref:`PRStatus`