Browse Source

Merge pull request #356 from Reactive-Extensions/WeHave64bitInterlocked

Removing check for 64-bit interlocked instructions
Oren Novotny 8 years ago
parent
commit
67a8288fb5
1 changed files with 0 additions and 8 deletions
  1. 0 8
      Rx.NET/Source/src/System.Reactive/Internal/PriorityQueue.cs

+ 0 - 8
Rx.NET/Source/src/System.Reactive/Internal/PriorityQueue.cs

@@ -9,11 +9,7 @@ namespace System.Reactive
 {
 {
     internal class PriorityQueue<T> where T : IComparable<T>
     internal class PriorityQueue<T> where T : IComparable<T>
     {
     {
-#if !NO_INTERLOCKED_64
         private static long _count = long.MinValue;
         private static long _count = long.MinValue;
-#else
-        private static int _count = int.MinValue;
-#endif
         private IndexedItem[] _items;
         private IndexedItem[] _items;
         private int _size;
         private int _size;
 
 
@@ -138,11 +134,7 @@ namespace System.Reactive
         struct IndexedItem : IComparable<IndexedItem>
         struct IndexedItem : IComparable<IndexedItem>
         {
         {
             public T Value;
             public T Value;
-#if !NO_INTERLOCKED_64
             public long Id;
             public long Id;
-#else
-            public int Id;
-#endif
 
 
             public int CompareTo(IndexedItem other)
             public int CompareTo(IndexedItem other)
             {
             {