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