Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes
TestThread Class Reference
Inheritance diagram for TestThread:
Inheritance graph
Collaboration diagram for TestThread:
Collaboration graph

List of all members.

Public Member Functions

TestThread ()
virtual ~TestThread ()
 TestThread (RCThread::State state, PRIntn count)
virtual void RootFunction ()
 Defines an entry point for a newly created thread.
void run ()

Protected Member Functions

virtual ~TestThread ()

Private Attributes

PRUint32 mID
PRUint32 mydata

Static Private Attributes

static PRUint32 gCounter = 0

Detailed Description

Definition at line 94 of file TestJarCache.cpp.

Constructor & Destructor Documentation

Definition at line 112 of file TestJarCache.cpp.

    : mID(++gCounter)
TestThread::~TestThread ( ) [virtual]

Definition at line 117 of file TestJarCache.cpp.

TestThread::TestThread ( RCThread::State  state,
PRIntn  count 

Definition at line 62 of file thread.cpp.

    RCThread(RCThread::global, state, 0) { mydata = count; }
virtual TestThread::~TestThread ( ) [protected, virtual]

Member Function Documentation

Definition at line 65 of file thread.cpp.

    printf("TestThread::RootFunction %d did it\n", mydata);
}  /* TestThread::RootFunction */
void nsIRunnable::run ( ) [inherited]
NS_IMETHOD nsIRunnable::Run ( ) [pure virtual, inherited]

Member Data Documentation

PRUint32 TestThread::gCounter = 0 [static, private]

Definition at line 105 of file TestJarCache.cpp.

Definition at line 104 of file TestJarCache.cpp.

Definition at line 57 of file thread.cpp.

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