using System;
using System.Collections.Generic;
using Cpp2IlInjected;
namespace System.Threading.Tasks
{
/// Provides support for parallel loops and regions.
// Token: 0x02000365 RID: 869
[Token(Token = "0x2000365")]
public static class Parallel
{
/// Executes a ( in Visual Basic) loop in which iterations may run in parallel.
/// The start index, inclusive.
/// The end index, exclusive.
/// The delegate that is invoked once per iteration.
/// A structure that contains information about which portion of the loop completed.
/// The argument is .
/// The exception that contains all the individual exceptions thrown on all threads.
// Token: 0x06001EDF RID: 7903 RVA: 0x000138F0 File Offset: 0x00011AF0
[Token(Token = "0x6001EDF")]
[Address(RVA = "0x2924850", Offset = "0x2923650", VA = "0x182924850")]
public static ParallelLoopResult For(int fromInclusive, int toExclusive, Action body)
{
return default(ParallelLoopResult);
}
// Token: 0x06001EE0 RID: 7904 RVA: 0x00013908 File Offset: 0x00011B08
[Token(Token = "0x6001EE0")]
[Address(RVA = "0x1B5A650", Offset = "0x1B59450", VA = "0x181B5A650")]
private static ParallelLoopResult ForWorker(int fromInclusive, int toExclusive, ParallelOptions parallelOptions, Action body, Action bodyWithState, Func bodyWithLocal, Func localInit, Action localFinally)
{
return default(ParallelLoopResult);
}
// Token: 0x06001EE1 RID: 7905 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001EE1")]
[Address(RVA = "0x2924960", Offset = "0x2923760", VA = "0x182924960")]
internal static void ThrowIfReducableToSingleOCE(IEnumerable excCollection, CancellationToken ct)
{
}
// Token: 0x04001197 RID: 4503
[Token(Token = "0x4001197")]
internal static ParallelOptions s_defaultParallelOptions;
// Token: 0x02000366 RID: 870
[Token(Token = "0x2000366")]
internal struct LoopTimer
{
// Token: 0x06001EE3 RID: 7907 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001EE3")]
[Address(RVA = "0x1D98B50", Offset = "0x1D97950", VA = "0x181D98B50")]
public LoopTimer(int nWorkerTaskIndex)
{
}
// Token: 0x06001EE4 RID: 7908 RVA: 0x00013920 File Offset: 0x00011B20
[Token(Token = "0x6001EE4")]
[Address(RVA = "0x1D98B30", Offset = "0x1D97930", VA = "0x181D98B30")]
public bool LimitExceeded()
{
return default(bool);
}
// Token: 0x04001198 RID: 4504
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4001198")]
private int m_timeLimit;
}
}
}