/// <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); }
/// <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); }