bugfix: mutex must not be reset after createthread called
authorslindal <slindal@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 11 Nov 2010 15:29:47 +0000 (15:29 +0000)
committerslindal <slindal@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 11 Nov 2010 15:29:47 +0000 (15:29 +0000)
EVE/EveHLT/AliEveHLTEventManagerHomer.cxx

index 4e241aa..515073a 100644 (file)
@@ -100,10 +100,12 @@ void AliEveHLTEventManagerHomer::TryNextEvent() {
   
   } else {
     cout << "couldn't get the sync event"<<endl;
+    fInfoButton->SetAlphaValues(0.8, 0.8);
+    fInfoButton->SetText("Waiting for buffer...");
     fEventBuffer->UnLockMutex();
     fEventBuffer->CreateBufferThread();
-    fNextEventTimer->Start(10000);
-  
+    fNextEventTimer->Start(3000);
+    return;
   }
   
   fInfoButton->SetAlphaValues(0.0, 0.0);