annotate Implab/ITaskController.cs @ 124:a336cb13c6a9 v2

major update, added Drain mathod to AsyncQueue class
author cin
date Thu, 15 Jan 2015 02:43:14 +0300
parents 9bf5b23650c9
children 706fccb85524
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12
eb418ba8275b refactoring, added WorkerPool
cin
parents:
diff changeset
1 using System;
eb418ba8275b refactoring, added WorkerPool
cin
parents:
diff changeset
2 using System.Collections.Generic;
eb418ba8275b refactoring, added WorkerPool
cin
parents:
diff changeset
3 using System.Linq;
eb418ba8275b refactoring, added WorkerPool
cin
parents:
diff changeset
4 using System.Text;
eb418ba8275b refactoring, added WorkerPool
cin
parents:
diff changeset
5
eb418ba8275b refactoring, added WorkerPool
cin
parents:
diff changeset
6 namespace Implab {
25
9bf5b23650c9 refactoring
cin
parents: 12
diff changeset
7 public interface ITaskController: IProgressHandler, ICancellable {
9bf5b23650c9 refactoring
cin
parents: 12
diff changeset
8 bool IsCancelled {
12
eb418ba8275b refactoring, added WorkerPool
cin
parents:
diff changeset
9 get;
eb418ba8275b refactoring, added WorkerPool
cin
parents:
diff changeset
10 }
25
9bf5b23650c9 refactoring
cin
parents: 12
diff changeset
11
9bf5b23650c9 refactoring
cin
parents: 12
diff changeset
12 event EventHandler Cancelled;
12
eb418ba8275b refactoring, added WorkerPool
cin
parents:
diff changeset
13 }
eb418ba8275b refactoring, added WorkerPool
cin
parents:
diff changeset
14 }