Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
imgThread Class Reference

#include <imgThread.h>

Inheritance diagram for imgThread:
Inheritance graph
[legend]
Collaboration diagram for imgThread:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 imgThread ()
virtual ~imgThread ()
NS_DECL_ISUPPORTS
NS_DECL_NSIRUNNABLE nsresult 
Init ()
nsresult GetEventQueue (nsIEventQueue **aEventQueue)
NS_IMETHOD Run ()=0
 Defines an entry point for a newly created thread.
void run ()

Private Attributes

nsCOMPtr< nsIThreadmThread
nsCOMPtr< nsIEventQueuemEventQueue
PRLockmLock
PRMonitormMonitor

Detailed Description

Definition at line 59 of file imgThread.h.


Constructor & Destructor Documentation

Definition at line 53 of file imgThread.cpp.

{
  /* member initializers and constructor code */
  mLock = PR_NewLock();
  mMonitor = PR_NewMonitor(); 
}

Here is the call graph for this function:

imgThread::~imgThread ( ) [virtual]

Definition at line 60 of file imgThread.cpp.

{
  /* destructor code */
  PR_DestroyLock(mLock);
  PR_DestroyMonitor(mMonitor);
}

Here is the call graph for this function:


Member Function Documentation

Definition at line 83 of file imgThread.cpp.

Here is the call graph for this function:

Definition at line 67 of file imgThread.cpp.

Here is the call graph for this function:

void nsIRunnable::run ( ) [inherited]
NS_IMETHOD nsIRunnable::Run ( ) [pure virtual, inherited]

Member Data Documentation

Definition at line 75 of file imgThread.h.

Definition at line 77 of file imgThread.h.

Definition at line 78 of file imgThread.h.

Definition at line 73 of file imgThread.h.


The documentation for this class was generated from the following files: