Salome HOME
Python execution management : Lock/Unlock
[modules/superv.git] / src / GraphExecutor / DataFlowExecutor_OutNode.hxx
index 72c38db464baf2be85d7b1b25d4c053a75a6992a..a882cf32bcb8228736553f89453b4b747f828e18 100644 (file)
@@ -75,6 +75,10 @@ namespace GraphExecutor {
 
       CORBA::ORB_ptr _Orb ;
 
+      // scan (reverse) the _EventNodes queue and leave only 1 (the last one that came) 
+      // event for every node
+      void siftEvents();
+
     public :
   
       OutNode() ;
@@ -152,7 +156,7 @@ namespace GraphExecutor {
       void PyThreadUnLock() ;
 
       void NewThread() ;
-      void ExitThread() ;
+      void ExitThread( pthread_t ThreadNumber = 0 ) ;
       void SuspendThread() ;
       void ResumeThread() ;
       long Threads() { return _Threads ; } ;