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


This interface is used to initialize a message pump.
Inherits from: nsISupports Last changed in Gecko 1.0

Method overview

void Init(in PRThread aThread);



Initialize this toolkit with aThread.

void Init(
  in PRThread aThread
The thread passed in runs the message pump. null can be passed in, in which case a new thread gets created and a message pump will run in that thread.

See also

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh, Hashem
 Last updated by: Sheppy,