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