XPCOM:nsIThreadManager: Difference between revisions

m
Line 21: Line 21:
     * Get the main thread.
     * Get the main thread.
     */
     */
   nsIThread getMainThread();
   readonly attribute nsIThread mainThread;
    
    
   /**
   /**
     * Get the current thread.
     * Get the current thread.
     */
     */
   nsIThread getCurrentThread();
   readonly attribute nsIThread currentThread;
    
    
   /**
   /**
Line 40: Line 40:
    
    
   /**
   /**
     * This method returns true if the calling thread is the main thread of the
     * This attribute is true if the calling thread is the main thread of the
     * application process.
     * application process.
     */
     */
   boolean isMainThread();
   readonly attribute boolean isMainThread;
  };
  };


272

edits