Ignore:
Timestamp:
Aug 11, 2010, 1:56:02 PM (11 years ago)
Author:
kopal
Message:

some fixes of ExecutionEngine and view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/Execution/ExecutionEngine.cs

    r1794 r1802  
    327327            while (this.executionEngine.IsRunning)
    328328            {
    329                 yield return Receive<MessageExecution>();
    330                 this.HandleExecute((MessageExecution)stateMachine.CurrentMessage);
     329                yield return Receive<MessageExecution>(null,HandleExecute);
     330                //this.HandleExecute((MessageExecution)stateMachine.CurrentMessage);
    331331            }
    332332        }
     
    343343                return;
    344344            }
    345 
     345           
    346346            //Check if all necessary inputs are set
    347347            foreach (ConnectorModel connectorModel in msg.PluginModel.InputConnectors)
     
    428428                        MessageExecution message_exec = new MessageExecution();
    429429                        message_exec.PluginModel = connectionModel.From.PluginModel;
    430                         connectionModel.From.PluginModel.PluginProtocol.BroadcastMessage(message_exec);
    431                     }
    432                 }
    433             }           
     430                        connectionModel.From.PluginModel.PluginProtocol.BroadcastMessageReliably(message_exec);
     431                    }
     432                }
     433            }
    434434        }
    435435    }
    436436
    437437    /// <summary>
    438     /// Gears4Net Scheduler. The scheduler only runs protocols which do not have a waiting
    439     /// plugin on the protocol plugins outputs
     438    /// Gears4Net Scheduler
    440439    /// </summary>
    441440    public class WorkspaceManagerScheduler : Scheduler
Note: See TracChangeset for help on using the changeset viewer.