Songbird Thread Pool Service. More...
#include "sbThreadPoolService.h"#include <nsIAppStartupNotifier.h>#include <nsIObserverService.h>#include <nsComponentManagerUtils.h>#include <nsCOMPtr.h>#include <nsServiceManagerUtils.h>#include <nsXPCOM.h>#include <prlog.h>Go to the source code of this file.
Macros | |
| #define | TRACE(args) /* nothing */ |
| #define | LOG(args) /* nothing */ |
| #define | DEFAULT_THREAD_LIMIT (8) |
| #define | DEFAULT_IDLE_LIMIT (1) |
| #define | DEFAULT_IDLE_TIMEOUT (10000) /* in milliseconds */ |
| #define | NS_XPCOM_SHUTDOWN_THREADS_OBSERVER_ID "xpcom-shutdown-threads" |
Functions | |
| NS_IMPL_THREADSAFE_ISUPPORTS3 (sbThreadPoolService, nsIEventTarget, nsIThreadPool, nsIObserver) sbThreadPoolService | |
Songbird Thread Pool Service.
Songbird ThreadPool Service Module Component Factory and Main Entry Point.
Definition in file sbThreadPoolService.cpp.
| #define DEFAULT_IDLE_LIMIT (1) |
Definition at line 59 of file sbThreadPoolService.cpp.
| #define DEFAULT_IDLE_TIMEOUT (10000) /* in milliseconds */ |
Definition at line 60 of file sbThreadPoolService.cpp.
| #define DEFAULT_THREAD_LIMIT (8) |
Definition at line 58 of file sbThreadPoolService.cpp.
| #define LOG | ( | args | ) | /* nothing */ |
Definition at line 55 of file sbThreadPoolService.cpp.
| #define NS_XPCOM_SHUTDOWN_THREADS_OBSERVER_ID "xpcom-shutdown-threads" |
Definition at line 62 of file sbThreadPoolService.cpp.
| #define TRACE | ( | args | ) | /* nothing */ |
To log this module, set the following environment variable: NSPR_LOG_MODULES=sbThreadPoolService:5
Definition at line 54 of file sbThreadPoolService.cpp.
| NS_IMPL_THREADSAFE_ISUPPORTS3 | ( | sbThreadPoolService | , |
| nsIEventTarget | , | ||
| nsIThreadPool | , | ||
| nsIObserver | |||
| ) |
Definition at line 64 of file sbThreadPoolService.cpp.