DragonECS-ClassicThreads/src/Exceptions.cs

13 lines
346 B
C#
Raw Normal View History

2023-06-26 01:58:18 +08:00
using System;
namespace DCFApixels.DragonECS
{
public static class EcsThrowHalper_ClassicThreads
{
internal static void DoubleParallelIteration(this EcsThrowHalper _)
{
throw new InvalidOperationException("It is forbidden to start a parallel iteration before the last one is finished.");
}
}
}