summaryrefslogtreecommitdiff
path: root/csharp/src/Ice/AsyncIOThread.cs
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-05-11 16:51:13 +0200
committerJose <jose@zeroc.com>2016-05-11 16:51:13 +0200
commit20ead35bcd15c258b00da6b1a16d26107f8dea8b (patch)
tree0aa99a82b9d56383c76c372fc1050dfd5493b4e9 /csharp/src/Ice/AsyncIOThread.cs
parentFixed make install issue (diff)
downloadice-20ead35bcd15c258b00da6b1a16d26107f8dea8b.tar.bz2
ice-20ead35bcd15c258b00da6b1a16d26107f8dea8b.tar.xz
ice-20ead35bcd15c258b00da6b1a16d26107f8dea8b.zip
CSharp mapping cleanup
- Remove code support for old ussuported frameworks (SILVERLIGHT, COMPACT, MONO) - Remove code support for deprecated collection mappings clr:collection
Diffstat (limited to 'csharp/src/Ice/AsyncIOThread.cs')
-rw-r--r--csharp/src/Ice/AsyncIOThread.cs13
1 files changed, 0 insertions, 13 deletions
diff --git a/csharp/src/Ice/AsyncIOThread.cs b/csharp/src/Ice/AsyncIOThread.cs
index 9aa8bec52c3..0d9db92604f 100644
--- a/csharp/src/Ice/AsyncIOThread.cs
+++ b/csharp/src/Ice/AsyncIOThread.cs
@@ -9,10 +9,8 @@
namespace IceInternal
{
- using System;
using System.Collections.Generic;
using System.Diagnostics;
- using System.Net;
using System.Threading;
public class AsyncIOThread
@@ -23,7 +21,6 @@ namespace IceInternal
_thread = new HelperThread(this);
updateObserver();
-#if !SILVERLIGHT
if(instance.initializationData().properties.getProperty("Ice.ThreadPriority").Length > 0)
{
ThreadPriority priority = IceInternal.Util.stringToThreadPriority(
@@ -34,9 +31,6 @@ namespace IceInternal
{
_thread.Start(ThreadPriority.Normal);
}
-#else
- _thread.Start();
-#endif
}
public void
@@ -178,18 +172,11 @@ namespace IceInternal
return _name;
}
-#if !SILVERLIGHT
public void Start(ThreadPriority priority)
-#else
- public void Start()
-#endif
{
_thread = new Thread(new ThreadStart(Run));
_thread.IsBackground = true;
_thread.Name = _name;
-#if !SILVERLIGHT
- _thread.Priority = priority;
-#endif
_thread.Start();
}