temporary fix of broken compilation when DATE is insalled
authorjniedzie <jeremi.niedziela@cern.ch>
Wed, 5 Nov 2014 15:13:02 +0000 (16:13 +0100)
committerhristov <Peter.Hristov@cern.ch>
Thu, 6 Nov 2014 10:15:30 +0000 (11:15 +0100)
MONITOR/alistoragemanager/AliCommunicationThread.cxx
MONITOR/alistoragemanager/AliDIMListenerThread.cxx
MONITOR/alistoragemanager/AliDIMListenerThread.h

index c840b2f..c346566 100644 (file)
@@ -42,7 +42,7 @@ void AliCommunicationThread::CommunicationHandle()
     
     cout<<"CLIENT -- Communication stated"<<endl;
     
-    mutex mtx;
+    // mutex mtx;
     
     while(!fFinished)
     {
@@ -51,7 +51,7 @@ void AliCommunicationThread::CommunicationHandle()
         
         if(request)
         {
-            lock_guard<mutex> lock(mtx);
+         //      lock_guard<mutex> lock(mtx);
             cout<<"COMMUNICATION -- received request"<<endl;
             switch(request->messageType)
             {
@@ -137,4 +137,4 @@ void AliCommunicationThread::SetStorageParams(int maxStorageSize,int maxOccupati
     }
     else{cout<<"CLIENT -- Unable to open config file"<<endl;}
     TThread::UnLock();
-}
\ No newline at end of file
+}
index b1bae94..d9c826b 100644 (file)
@@ -9,7 +9,7 @@ AliDIMListenerThread::AliDIMListenerThread()
     InitDIMListeners();
     
 #ifdef ALI_DATE
-    DimCurrentInfo SORrunNumber("/LOGBOOK/SUBSCRIBE/DAQ_SOR_PHYSICS_1",-1);
+    /* DimCurrentInfo SORrunNumber("/LOGBOOK/SUBSCRIBE/DAQ_SOR_PHYSICS_1",-1);
     DimCurrentInfo EORrunNumber("/LOGBOOK/SUBSCRIBE/DAQ_EOR_PHYSICS_1",-1);
 
     if(SORrunNumber.getData() && EORrunNumber.getData())
@@ -19,27 +19,27 @@ AliDIMListenerThread::AliDIMListenerThread()
         
         if(SORrunNumber.getInt() != EORrunNumber.getInt()){StartOfRun(SORrunNumber.getInt());}
     }
-    else{cout<<"DIM Listener -- no data received from dim server"<<endl;}
+    else{cout<<"DIM Listener -- no data received from dim server"<<endl;}*/
 #endif
 }
 
 AliDIMListenerThread::~AliDIMListenerThread()
-{
+{/*
     for (int i = 0; i < 5; ++i){
         if(fDimSORListener[i]) delete fDimSORListener[i];
         if(fDimEORListener[i]) delete fDimEORListener[i];
         
         fDimSORListener[i] = 0;
         fDimEORListener[i] = 0;
-    }
+       }*/
 }
 
 void AliDIMListenerThread::InitDIMListeners()
-{
+{/*
     for (int i = 0; i < 5; ++i)
     {
 #ifdef ALI_DATE
-        if (i == 0)
+             if (i == 0)
         {
             fDimSORListener[i] = new AliDimIntNotifier("/LOGBOOK/SUBSCRIBE/DAQ_SOR_PHYSICS");
             fDimEORListener[i] = new AliDimIntNotifier("/LOGBOOK/SUBSCRIBE/DAQ_EOR_PHYSICS");
@@ -57,7 +57,7 @@ void AliDIMListenerThread::InitDIMListeners()
         fDimEORListener[i]=0x0;
 #endif
     }
-    
+    */
 }
 
 void AliDIMListenerThread::StartOfRun(int run)
@@ -68,4 +68,4 @@ void AliDIMListenerThread::StartOfRun(int run)
 void AliDIMListenerThread::EndOfRun(int run)
 {
     cout<<"DIM Listener -- EOR signal received for run:"<<run<<endl;
-}
\ No newline at end of file
+}
index 5dfe201..e2681d8 100644 (file)
@@ -1,12 +1,14 @@
 #ifndef __AliDIMListenerThread__
 #define __AliDIMListenerThread__
+/*
+#include "AliDimIntNotifier.h"
 
 #ifdef ALI_DATE
 #include <dic.hxx>
 #endif
 
 class AliDimIntNotifier;
-
+*/
 class AliDIMListenerThread
 {
 public:
@@ -19,8 +21,8 @@ public:
 private:
     void InitDIMListeners();
     
-    AliDimIntNotifier *fDimSORListener[5];
-    AliDimIntNotifier *fDimEORListener[5];
+    // AliDimIntNotifier *fDimSORListener[5];
+    //AliDimIntNotifier *fDimEORListener[5];
 };
 
 #endif /* defined(__AliDIMListenerThread__) */