#include <stdio.h>
#include <signal.h>
#include <assert.h>
#include <stdlib.h>
#include <unistd.h>
#include <math.h>
#include "midas.h"
#include "tmfe.h"
Go to the source code of this file.
◆ main()
Definition at line 89 of file tmfe_example_multithread.cxx.
   90{
   93 
   95 
   96   std::vector<std::string> 
eq_args;
 
   97 
   98   
   99   
  100   
  101   
  102   
  103   
  104   
  105 
  107 
  111      return 1;
  112   }
  113 
  114   
  115 
  117   eq->fEqConfEventID = 1;
 
  118   eq->fEqConfLogHistory = 1;
 
  119   eq->fEqConfPeriodMilliSec = 1000; 
 
  120   eq->fEqConfBuffer = 
"SYSTEM";
 
  121 
  123   eq->EqSetStatus(
"Starting...", 
"white");
 
  124 
  125   mfe->AddRpcHandler(
eq);
 
  126 
  127   
  128   
  129 
  130   
  131   
  132 
  133   
  134 
  136 
  137   mfe->StartRpcThread();
 
  138   
  139 
  140   eq->EqSetStatus(
"Started...", 
"white");
 
  141 
  142   while (!
mfe->fShutdownRequested) {
 
  144   }
  145 
  147 
  148   return 0;
  149}
static std::string GetThreadId()
return identification of this thread
std::string error_message
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)
 
 
◆ usage()