Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

nsIThreadPoolListener

The nsIThreadPoolListener interface represents objects that listen to notifications generated by the nsIThreadPool.

Please add a summary to this article.
  Last changed in Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)

Inherits from: nsISupports

Method overview

void onThreadCreated();
void onThreadShuttingDown();

Methods

onThreadCreated()

Called when a new thread is created by the thread pool. The notification happens on the newly created thread.

void onThreadCreated();
Parameters

None.

onThreadShuttingDown()

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();
Parameters

None.

See also

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh, Jürgen Jeka
 Last updated by: Sheppy,