annotate Implab/Components/IRunnable.cs @ 160:5802131432e4 v2

fixed regression: race condition in Promise DFA refactoring
author cin
date Thu, 18 Feb 2016 19:38:54 +0300
parents 240aa6994018
children 4d9830a9bbb8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
152
240aa6994018 component model refactoring
cin
parents:
diff changeset
1 using System;
240aa6994018 component model refactoring
cin
parents:
diff changeset
2
240aa6994018 component model refactoring
cin
parents:
diff changeset
3 namespace Implab.Components {
240aa6994018 component model refactoring
cin
parents:
diff changeset
4 public interface IRunnable {
240aa6994018 component model refactoring
cin
parents:
diff changeset
5 IPromise Start();
240aa6994018 component model refactoring
cin
parents:
diff changeset
6
240aa6994018 component model refactoring
cin
parents:
diff changeset
7 IPromise Stop();
240aa6994018 component model refactoring
cin
parents:
diff changeset
8
240aa6994018 component model refactoring
cin
parents:
diff changeset
9 ExecutionState State { get; }
240aa6994018 component model refactoring
cin
parents:
diff changeset
10
240aa6994018 component model refactoring
cin
parents:
diff changeset
11 Exception LastError { get; }
240aa6994018 component model refactoring
cin
parents:
diff changeset
12 }
240aa6994018 component model refactoring
cin
parents:
diff changeset
13 }
240aa6994018 component model refactoring
cin
parents:
diff changeset
14