An interface for creating and locating nsIThread instances. More...
import "nsIThreadManager.idl";
Collaboration diagram for nsIThreadManager:Public Member Functions | |
| nsIThread | newThread (in unsigned long creationFlags) |
| Create a new thread (a global, user PRThread). | |
| nsIThread | getThreadFromPRThread (in PRThread prthread) |
| Get the nsIThread object (if any) corresponding to the given PRThread. | |
Public Attributes | |
| readonly attribute nsIThread | mainThread |
| Get the main thread. | |
| readonly attribute nsIThread | currentThread |
| Get the current thread. | |
| readonly attribute boolean | isMainThread |
| This attribute is true if the calling thread is the main thread of the application process. | |
| readonly attribute boolean | isCycleCollectorThread |
| This attribute is true if the calling thread is the thread on which the cycle collector runs. | |
An interface for creating and locating nsIThread instances.
| nsIThread nsIThreadManager::newThread | ( | in unsigned long | creationFlags | ) |
Create a new thread (a global, user PRThread).
| creationFlags | Reserved for future use. Pass 0. |
| readonly attribute nsIThread nsIThreadManager::currentThread |
| readonly attribute boolean nsIThreadManager::isCycleCollectorThread |
This attribute is true if the calling thread is the thread on which the cycle collector runs.
| readonly attribute boolean nsIThreadManager::isMainThread |
This attribute is true if the calling thread is the main thread of the application process.
| readonly attribute nsIThread nsIThreadManager::mainThread |
Get the main thread.
1.7.1