mirror of
https://github.com/DCFApixels/DragonECS-ClassicThreads.git
synced 2025-09-17 19:24:37 +08:00
19 lines
418 B
C#
19 lines
418 B
C#
#if DISABLE_DEBUG
|
|
#undef DEBUG
|
|
#endif
|
|
using System;
|
|
|
|
namespace DCFApixels.DragonECS
|
|
{
|
|
namespace ClassicThreadsInternal
|
|
{
|
|
internal static class Throw
|
|
{
|
|
internal static void DoubleParallelIteration()
|
|
{
|
|
throw new InvalidOperationException("It is forbidden to start a parallel iteration before the last one is finished.");
|
|
}
|
|
}
|
|
}
|
|
}
|