using System;
using System.Threading;
using Implab.Parallels;
namespace Implab {
///
/// The cancellation token signals to the worker that cancellation has been
/// requested, after the signal is received the worker decides wheather to
/// cancel its work or to continue.
///
public class CancellationToken : AbstractEvent> {
public CancellationToken() {
}
public void RequestCancellation() {
}
public void RequestCancellation(Exception reason) {
}
protected override void SignalHandler(Action handler) {
throw new NotImplementedException();
}
}
}