CSmpExample Class Reference

List of all members.

Public Member Functions

virtual ~CSmpExample ()
void CreateDatabaseL (const TDesC &aDbName)
void PrintMessage ()
void StartThreads ()

Static Public Member Functions

static CSmpExampleNewL ()
static TInt ReadThreadFuncL (TAny *aPtr)
static TInt WriteThread1FuncL (TAny *aPtr)
static TInt WriteThread2FuncL (TAny *aPtr)
static void ReadBothDatabasesL ()
static void ReadDatabaseL (const TDesC &aDbName, CConsoleBase &console)
static void WriteDbFuncL (const TDesC &aDbName, TInt aNum)

Protected Member Functions

void ConstructL ()

Detailed Description

This class creates three threads to demonstrate multithreading in a unicore and a SMP environment.

Definition at line 42 of file SmpExample.h.


Constructor & Destructor Documentation

CSmpExample::~CSmpExample (  )  [virtual]

Member Function Documentation

CSmpExample * CSmpExample::NewL (  )  [static]

NewL()

Definition at line 49 of file SmpExample.cpp.

void CSmpExample::CreateDatabaseL ( const TDesC &  aDbName  ) 
TInt CSmpExample::ReadThreadFuncL ( TAny *  aPtr  )  [static]
TInt CSmpExample::WriteThread1FuncL ( TAny *  aPtr  )  [static]
TInt CSmpExample::WriteThread2FuncL ( TAny *  aPtr  )  [static]
void CSmpExample::ReadBothDatabasesL (  )  [static]
void CSmpExample::ReadDatabaseL ( const TDesC &  aDbName,
CConsoleBase &  console 
) [static]
void CSmpExample::WriteDbFuncL ( const TDesC &  aDbName,
TInt  aNum 
) [static]
void CSmpExample::PrintMessage (  ) 
void CSmpExample::StartThreads (  ) 
void CSmpExample::ConstructL (  )  [protected]

Generated by  doxygen 1.6.2