aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/CrowThread.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-11-05 23:02:49 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-11-05 23:02:49 +0100
commit5185d70ddd14728576bafdfea267981baed88d84 (patch)
tree28ecf610198dc524f927f953a952cbc7f1717498 /src/CrowThread.cs
parent8d59e42e78db11afaf9b2f6530403a12b1d1926c (diff)
parent28788991d650bc8ba29b9c2817dbb757129977e5 (diff)
merge
Diffstat (limited to 'src/CrowThread.cs')
-rw-r--r--src/CrowThread.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/CrowThread.cs b/src/CrowThread.cs
index 823fe1a6..c3a4ba3b 100644
--- a/src/CrowThread.cs
+++ b/src/CrowThread.cs
@@ -41,15 +41,15 @@ namespace Crow
thread = new Thread (start);
thread.IsBackground = true;
Host = host;
- lock (Host.currentInterface.CrowThreads)
- Host.currentInterface.CrowThreads.Add (this);
+ lock (Host.CurrentInterface.CrowThreads)
+ Host.CurrentInterface.CrowThreads.Add (this);
}
public void CheckState(){
if (thread.ThreadState != ThreadState.Stopped)
return;
Finished.Raise (Host, null);
- lock (Host.currentInterface.CrowThreads)
- Host.currentInterface.CrowThreads.Remove (this);
+ lock (Host.CurrentInterface.CrowThreads)
+ Host.CurrentInterface.CrowThreads.Remove (this);
}
public void Start() { thread.Start();}
public void Cancel(){
@@ -57,8 +57,8 @@ namespace Crow
cancelRequested = true;
thread.Join ();
}
- lock (Host.currentInterface.CrowThreads)
- Host.currentInterface.CrowThreads.Remove (this);
+ lock (Host.CurrentInterface.CrowThreads)
+ Host.CurrentInterface.CrowThreads.Remove (this);
}
}
}