CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
edm::ZombieKillerService Class Reference

Public Member Functions

 ZombieKillerService (edm::ParameterSet const &, edm::ActivityRegistry &)
 

Static Public Member Functions

static void fillDescriptions (ConfigurationDescriptions &descriptions)
 

Private Member Functions

void checkForZombie ()
 
void notAZombieYet ()
 
void startThread ()
 
void stopThread ()
 

Private Attributes

const unsigned int m_checkThreshold
 
bool m_jobDone
 
std::condition_variable m_jobDoneCondition
 
std::mutex m_jobDoneMutex
 
std::atomic< unsigned int > m_numberChecksWhenNotAlive
 
const unsigned int m_secsBetweenChecks
 
std::atomic< bool > m_stillAlive
 
std::thread m_watchingThread
 

Detailed Description

Definition at line 28 of file ZombieKillerService.cc.

Constructor & Destructor Documentation

ZombieKillerService::ZombieKillerService ( edm::ParameterSet const &  iPSet,
edm::ActivityRegistry iRegistry 
)

Definition at line 71 of file ZombieKillerService.cc.

Member Function Documentation

void ZombieKillerService::checkForZombie ( )
private

Definition at line 159 of file ZombieKillerService.cc.

void ZombieKillerService::fillDescriptions ( ConfigurationDescriptions descriptions)
static

Definition at line 201 of file ZombieKillerService.cc.

void ZombieKillerService::notAZombieYet ( )
private

Definition at line 153 of file ZombieKillerService.cc.

void ZombieKillerService::startThread ( )
private

Definition at line 173 of file ZombieKillerService.cc.

void ZombieKillerService::stopThread ( )
private

Definition at line 191 of file ZombieKillerService.cc.

Member Data Documentation

const unsigned int edm::ZombieKillerService::m_checkThreshold
private

Definition at line 35 of file ZombieKillerService.cc.

bool edm::ZombieKillerService::m_jobDone
private

Definition at line 40 of file ZombieKillerService.cc.

std::condition_variable edm::ZombieKillerService::m_jobDoneCondition
private

Definition at line 38 of file ZombieKillerService.cc.

std::mutex edm::ZombieKillerService::m_jobDoneMutex
private

Definition at line 39 of file ZombieKillerService.cc.

std::atomic<unsigned int> edm::ZombieKillerService::m_numberChecksWhenNotAlive
private

Definition at line 42 of file ZombieKillerService.cc.

const unsigned int edm::ZombieKillerService::m_secsBetweenChecks
private

Definition at line 36 of file ZombieKillerService.cc.

std::atomic<bool> edm::ZombieKillerService::m_stillAlive
private

Definition at line 41 of file ZombieKillerService.cc.

std::thread edm::ZombieKillerService::m_watchingThread
private

Definition at line 37 of file ZombieKillerService.cc.