Beispiel #1
0
        internal DynamoScheduler(ISchedulerThread schedulerThread, TaskProcessMode processMode)
        {
            this.schedulerThread = schedulerThread;
            this.ProcessMode     = processMode;

            // The host implementation of ISchedulerThread can begin access the
            // scheduler as soon as this method is invoked. It is important for
            // this call to be made at the very end of the constructor so we are
            // sure everything in the scheduler is ready for access.
            this.schedulerThread.Initialize(this);
        }
        internal DynamoScheduler(ISchedulerThread schedulerThread, TaskProcessMode processMode)
        {
            this.schedulerThread = schedulerThread;
            this.ProcessMode = processMode;

            // The host implementation of ISchedulerThread can begin access the 
            // scheduler as soon as this method is invoked. It is important for 
            // this call to be made at the very end of the constructor so we are 
            // sure everything in the scheduler is ready for access.
            this.schedulerThread.Initialize(this);
        }