The nsIThreadPoolListener
interface represents objects that listen to notifications generated by the nsIThreadPool
.
Inherits from: nsISupports
void onThreadCreated(); |
void onThreadShuttingDown(); |
Called when a new thread is created by the thread pool. The notification happens on the newly created thread.
void onThreadCreated();
None.
Called when a new thread is about to be destroyed by the thread pool. The notification happens on the thread that is about to be destroyed.
void onThreadShuttingDown();
None.