Logo Search packages:      
Sourcecode: xulrunner-1.9 version File versions

boolean nsIThread::hasPendingEvents (  )  [inherited]

This method may be called to determine if there are any events ready to be processed. It may only be called when this thread is the current thread.

Because events may be added to this thread by another thread, a "false" result does not mean that this thread has no pending events. It only means that there were no pending events when this method was called.

Returns:
A boolean value that if "true" indicates that this thread has one or more pending events.
Exceptions:
NS_ERROR_UNEXPECTED Indicates that this method was erroneously called when this thread was not the current thread.


Generated by  Doxygen 1.6.0   Back to index