Esempio n. 1
0
 public Dispatcher(IPlatformThreadingInterface platform)
 {
     _platform = platform;
     if(_platform == null)
         //TODO: Unit test mode, fix that somehow
         return;
     _jobRunner = new JobRunner(platform);
     _platform.Signaled += _jobRunner.RunJobs;
 }
Esempio n. 2
0
 public ThreadingInterface()
 {
     _timerJobRunner = new JobRunner(this);
 }