nsIThreadObserver
| IID: | 81D0B509-F198-4417-8020-08EB4271491F |
| Inherits From: | nsISupports |
This interface is implemented by the following components:
Methods
void afterProcessNextEvent ( nsIThreadInternal thread , PRUint32 recursionDepth )
void onDispatchedEvent ( nsIThreadInternal thread )
void onProcessNextEvent ( nsIThreadInternal thread , PRBool mayWait , PRUint32 recursionDepth )
void afterProcessNextEvent ( nsIThreadInternal thread , PRUint32 recursionDepth )
This method is called (from nsIThread::ProcessNextEvent) after an event is processed. This method is only called on the target thread.
- Arguments:
- thread: The thread that processed another event.
- recursionDepth: Indicates the number of calls to ProcessNextEvent on the call stack in addition to the current call.
void onDispatchedEvent ( nsIThreadInternal thread )
This method is called after an event has been dispatched to the thread. This method may be called from any thread.
- Arguments:
- thread: The thread where the event is being dispatched.
void onProcessNextEvent ( nsIThreadInternal thread , PRBool mayWait , PRUint32 recursionDepth )
This method is called (from nsIThread::ProcessNextEvent) before an event is processed. This method is only called on the target thread.
- Arguments:
- thread: The thread being asked to process another event.
- mayWait: Indicates whether or not the method is allowed to block the calling thread. For example, this parameter is false during thread shutdown.
- recursionDepth: Indicates the number of calls to ProcessNextEvent on the call stack in addition to the current call.
References
This interface is the type of the following properties:
Reference documentation is generated from Mozilla's source.
