Преглед на файлове

Merge pull request #356 from Reactive-Extensions/WeHave64bitInterlocked

Removing check for 64-bit interlocked instructions
Oren Novotny преди 8 години
родител
ревизия
67a8288fb5
променени са 1 файла, в които са добавени 0 реда и са изтрити 8 реда
  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>
     {
-#if !NO_INTERLOCKED_64
         private static long _count = long.MinValue;
-#else
-        private static int _count = int.MinValue;
-#endif
         private IndexedItem[] _items;
         private int _size;
 
@@ -138,11 +134,7 @@ namespace System.Reactive
         struct IndexedItem : IComparable<IndexedItem>
         {
             public T Value;
-#if !NO_INTERLOCKED_64
             public long Id;
-#else
-            public int Id;
-#endif
 
             public int CompareTo(IndexedItem other)
             {