CMS 3D CMS Logo

MessageServicePresence.cc File Reference

#include "FWCore/MessageService/interface/MessageServicePresence.h"
#include "FWCore/MessageService/interface/MessageLoggerScribe.h"
#include "FWCore/MessageLogger/interface/MessageLoggerQ.h"
#include "FWCore/Utilities/interface/UnixSignalHandlers.h"

Go to the source code of this file.

Namespaces

namespace  edm
namespace  edm::service

Functions

void runMessageLoggerScribe ()


Function Documentation

void @7510::runMessageLoggerScribe (  )  [static]

Definition at line 24 of file MessageServicePresence.cc.

References edm::disableAllSigs(), m, and edm::service::MessageLoggerScribe::run().

00025 {
00026   sigset_t oldset;
00027   edm::disableAllSigs(&oldset);
00028   MessageLoggerScribe  m;  
00029   m.run();
00030   // explicitly DO NOT reenableSigs(oldset) because -
00031   // 1) When this terminates, the main thread may not yet have done a join() and we
00032   //    don't want to handle the sigs at that point in this thread
00033   // 2) If we re-enable sigs, we will get the entire stack of accumulated ones (if any) 
00034 }


Generated on Tue Jun 9 17:53:16 2009 for CMSSW by  doxygen 1.5.4