CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
DQMScope Class Reference

#include <DQMScope.h>

Public Member Functions

 DQMScope (void)
 
 ~DQMScope (void)
 Release access lock to the DQM core. More...
 

Detailed Description

Gateway to accessing DQM core in threads other than the CMSSW thread.

Definition at line 5 of file DQMScope.h.

Constructor & Destructor Documentation

DQMScope::DQMScope ( void  )

Acquire lock and access to the DQM core from a thread other than the "main" CMSSW processing thread, such as in extra XDAQ threads.

Definition at line 21 of file DQMService.cc.

References s_mutex.

22 { pthread_mutex_lock(&s_mutex); }
static pthread_mutex_t s_mutex
Definition: DQMService.cc:17
DQMScope::~DQMScope ( void  )

Release access lock to the DQM core.

Definition at line 25 of file DQMService.cc.

References s_mutex.

26 { pthread_mutex_unlock(&s_mutex); }
static pthread_mutex_t s_mutex
Definition: DQMService.cc:17