272
edits
m (→Remarks) |
m (→Interfaces) |
||
| Line 21: | Line 21: | ||
* Get the main thread. | * Get the main thread. | ||
*/ | */ | ||
nsIThread | readonly attribute nsIThread mainThread; | ||
| | ||
/** | /** | ||
* Get the current thread. | * Get the current thread. | ||
*/ | */ | ||
nsIThread | readonly attribute nsIThread currentThread; | ||
| | ||
/** | /** | ||
| Line 40: | Line 40: | ||
| | ||
/** | /** | ||
* This | * This attribute is true if the calling thread is the main thread of the | ||
* application process. | * application process. | ||
*/ | */ | ||
boolean isMainThread | readonly attribute boolean isMainThread; | ||
}; | }; | ||
edits