XPCOM:nsIThreadManager: Difference between revisions

Jump to navigation Jump to search
m
Line 142: Line 142:
  {
  {
   /**
   /**
     * Shutdown the thread pool.  This method may not be executed from any thread
     * Shutdown the thread pool.  This method may not be executed from any
     * in the thread pool.  Instead, it is meant to be executed from another
     * thread in the thread pool.  Instead, it is meant to be executed from  
     * thread (usually the thread that created this thread pool). When this
     * another thread (usually the thread that created this thread pool).
     * function returns, the thread pool and all of its threads will be shutdown,
     * When this function returns, the thread pool and all of its threads will
    * and it will no longer be possible to dispatch tasks to the thread pool.
    * be shutdown, and it will no longer be possible to dispatch tasks to the
    * thread pool.
     */
     */
   void shutdown()
   void shutdown()
272

edits

Navigation menu