Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions | Variables
nsEventQueue.cpp File Reference
#include "nsCOMPtr.h"
#include "nsEventQueue.h"
#include "nsIEventQueueService.h"
#include "nsIThread.h"
#include "nsIEventQueueListener.h"
#include "nsIServiceManager.h"
#include "nsIObserverService.h"
#include "nsString.h"
#include "prlog.h"

Go to the source code of this file.

Classes

class  ListenerCaller

Functions

 NS_IMPL_THREADSAFE_ISUPPORTS3 (nsEventQueueImpl, nsIEventQueue, nsIEventTarget, nsPIEventQueueChain) NS_IMETHODIMP nsEventQueueImpl

Variables

static const char gActivatedNotification [] = "nsIEventQueueActivated"
static const char gDestroyedNotification [] = "nsIEventQueueDestroyed"

Function Documentation

Definition at line 225 of file nsEventQueue.cpp.

{
  // this assertion is bogus.  I should be able to shut down the eldest queue,
  //    as long as there are no younger children


  NS_ASSERTION(mElderQueue || !mYoungerQueue, "attempted to disable eldest queue in chain");
  mAcceptingEvents = PR_FALSE;
  CheckForDeactivation();
#if defined(PR_LOGGING) && defined(DEBUG_danm)
  PR_LOG(gEventQueueLog, PR_LOG_DEBUG,
         ("EventQueue: StopAccepting [queue=%lx, accept=%d, could=%d]",
         (long)mEventQueue,(int)mAcceptingEvents,(int)mCouldHaveEvents));
  ++gEventQueueLogCount;
#endif
  return NS_OK;
}

Variable Documentation

const char gActivatedNotification[] = "nsIEventQueueActivated" [static]

Definition at line 67 of file nsEventQueue.cpp.

const char gDestroyedNotification[] = "nsIEventQueueDestroyed" [static]

Definition at line 68 of file nsEventQueue.cpp.