]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTTask.h
improving handling of processing failures in event processing
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTTask.h
index dc443addbde3f040e7880e6f2d4ff513f9081de8..fe77275e9d560a07771a0d6d8dbbf96413b27699 100644 (file)
@@ -252,6 +252,17 @@ class AliHLTTask : public TObject, public AliHLTLogging {
   int Release(AliHLTComponentBlockData* pBlockDesc,
              const AliHLTTask* pConsumerTask);
 
+  /**
+   * Cleanup function if the event processing is in error state.
+   * In order to handle in particular forwarded segments in the source
+   * tasks correctly the tasks of the chain have to subscribe to the
+   * parents even if the event is already in error state. This function
+   * is used instead of ProcessTask.
+   * Subscribes to all source tasks and releases them with out any event
+   * processing
+   */
+  int SubscribeSourcesAndSkip();
+
   /**
    * Print the status of the task with component, dependencies and targets.
    */