Example #1
0
        public AsyncJobManager()
        {
            asyncJobs = new ConcurrentDictionary <JobID, AsyncJob>();

            jobTimeoutFunc = new ScheduledFunction(CancelTimedoutJobs, TimeSpan.FromSeconds(1));
        }
Example #2
0
        public AsyncJobManager()
        {
            asyncJobs = new ConcurrentDictionary<JobID, AsyncJob>();

            jobTimeoutFunc = new ScheduledFunction( CancelTimedoutJobs, TimeSpan.FromSeconds( 1 ) );
        }