예제 #1
0
 /// <summary>
 /// Inserts multiple objects at the top of the concurrent stack atomically.
 /// </summary>
 public static void PushRange(SystemConcurrent.ConcurrentStack <T> concurrentStack, T[] items, int startIndex, int count)
 {
     Helper.Interleave();
     concurrentStack.PushRange(items, startIndex, count);
 }
예제 #2
0
 /// <summary>
 /// Inserts multiple objects at the top of the concurrent stack atomically.
 /// </summary>
 public static void PushRange(SystemConcurrent.ConcurrentStack <T> concurrentStack, T[] items)
 {
     Helper.Interleave();
     concurrentStack.PushRange(items);
 }