Den::TWorkerThreadRegister Class Reference

class Den::TWorkerThreadRegister : public Den::TWorkerThreadPublicInfo

Structure containing information pertaining to a particular worker thread.

Constructor & Destructor Documentation

TWorkerThreadRegister()

TWorkerThreadRegister ( )

Member Functions Documentation

AllPeerCleanupsCompleted()

TBool AllPeerCleanupsCompleted ( ) const [private]

Clear()

void Clear ( ) [private]

PeerCleanupCompleted(CommsFW::TWorkerId)

void PeerCleanupCompleted ( CommsFW::TWorkerId aPeerId ) [private]

Parameters

CommsFW::TWorkerId aPeerId

PeerCleanupPending(CommsFW::TWorkerId)

void PeerCleanupPending ( CommsFW::TWorkerId aPeerId ) [private]

Parameters

CommsFW::TWorkerId aPeerId

Member Data Documentation

CCommonDealer * iDealer

CCommonDealer * iDealer [private]

CommsFW::TCFModuleName iModuleName

CommsFW::TCFModuleName iModuleName [private]

CPeerDeathNotifier * iPeerDeathNotifier

CPeerDeathNotifier * iPeerDeathNotifier [private]

TUint32 iPendingPeerCleanups

TUint32 iPendingPeerCleanups [private]

If a worker thread dies the Pitboss will set a bit corresponding to the dead worker thread ID (/number) in iPendingPeerCleanups in the TWorkerThreadRegister instance for each other worker and send them a TWorkerCleanupDeadPeerMsg . The worker threads will respond by sending TWorkerMsg::ECleanupDeadPeerResp back when they have cleaned up anything related to the dead worker and the PitBoss will reset the bit in their TWorkerThreadRegister instance. HandleWorkerCleanupCompletionByPeer()

CCommonPlayer * iPlayer

CCommonPlayer * iPlayer [private]

TBool iShuttingDown

TBool iShuttingDown [private]