using System;
using System.Collections.Generic;
using Cpp2IlInjected;
namespace System.Threading.Tasks
{
/// Provides support for parallel loops and regions.
// Token: 0x02000381 RID: 897
[Token(Token = "0x2000381")]
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: 0x060020EB RID: 8427 RVA: 0x00015CC0 File Offset: 0x00013EC0
[Token(Token = "0x60020EB")]
[Address(RVA = "0xB40D20", Offset = "0xB3FD20", VA = "0x180B40D20")]
public static ParallelLoopResult For(int fromInclusive, int toExclusive, Action body)
{
return default(ParallelLoopResult);
}
// Token: 0x060020EC RID: 8428 RVA: 0x00015CD8 File Offset: 0x00013ED8
[Token(Token = "0x60020EC")]
[Address(RVA = "0x25FAAF0", Offset = "0x25F9AF0", VA = "0x1825FAAF0")]
private static ParallelLoopResult ForWorker(int fromInclusive, int toExclusive, ParallelOptions parallelOptions, Action body, Action bodyWithState, Func bodyWithLocal, Func localInit, Action localFinally)
{
return default(ParallelLoopResult);
}
// Token: 0x060020ED RID: 8429 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60020ED")]
[Address(RVA = "0xB40E30", Offset = "0xB3FE30", VA = "0x180B40E30")]
internal static void ThrowIfReducableToSingleOCE(IEnumerable excCollection, CancellationToken ct)
{
}
// Token: 0x0400125A RID: 4698
[Token(Token = "0x400125A")]
internal static ParallelOptions s_defaultParallelOptions;
// Token: 0x02000382 RID: 898
[Token(Token = "0x2000382")]
internal struct LoopTimer
{
// Token: 0x060020EF RID: 8431 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60020EF")]
[Address(RVA = "0xB3FAE0", Offset = "0xB3EAE0", VA = "0x180B3FAE0")]
public LoopTimer(int nWorkerTaskIndex)
{
}
// Token: 0x060020F0 RID: 8432 RVA: 0x00015CF0 File Offset: 0x00013EF0
[Token(Token = "0x60020F0")]
[Address(RVA = "0xB3FAC0", Offset = "0xB3EAC0", VA = "0x180B3FAC0")]
public bool LimitExceeded()
{
return default(bool);
}
// Token: 0x0400125B RID: 4699
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400125B")]
private int m_timeLimit;
}
}
}