Beispiel #1
0
 static PostOffice()
 {
     operationDispatcher = new QueueTaskDispatcher(20);
     ThreadHelper.Halt += updateUnderControllingTimer.Dispose;
     ThreadHelper.Halt += () => operationDispatcher.Dispose();
 }
Beispiel #2
0
 static TabViewModel()
 {
     cacheInvalidator = new QueueTaskDispatcher(1);
     ThreadHelper.Halt += () => cacheInvalidator.Dispose();
 }
Beispiel #3
0
 static TweetStorage()
 {
     operationDispatcher = new QueueTaskDispatcher(1);
     ThreadHelper.Halt += () => operationDispatcher.Dispose();
 }
Beispiel #4
0
 static LazyImage()
 {
     taskrun = new QueueTaskDispatcher(4);
     ThreadHelper.Halt += taskrun.Dispose;
 }
Beispiel #5
0
 static LazyImage()
 {
     qdispatcher = new QueueTaskDispatcher(10);
     Athenaeum.AthenaeumCore.MultiThreading.RequestEndThread += new Action(() => qdispatcher.Dispose());
 }