Songbird Thread Utilities Services Source. More...
Go to the source code of this file.
Functions | |
PRBool | SB_IsMainThread (nsIThreadManager *aThreadManager) |
Songbird Thread Utilities Services Source.
Definition in file sbThreadUtils.cpp.
PRBool SB_IsMainThread | ( | nsIThreadManager * | aThreadManager | ) |
Check if the current thread is the main thread and return true if so. Use the thread manager object specified by aThreadManager if provided. This function can be used during XPCOM shutdown if aThreadManager is provided.
aThreadManager | Optional thread manager. Defaults to null. |
Definition at line 71 of file sbThreadUtils.cpp.