mirror of
https://github.com/DCFApixels/DragonECS-ClassicThreads.git
synced 2025-09-18 03:44:34 +08:00
Compare commits
No commits in common. "26df930329483e54b9f5f050e526689e1bef6811" and "b32421ed95653d5d0e6977768647a3faad6f6126" have entirely different histories.
26df930329
...
b32421ed95
1
.gitignore
vendored
1
.gitignore
vendored
@ -35,7 +35,6 @@ ExportedObj/
|
||||
*.csproj
|
||||
*.unityproj
|
||||
*.sln
|
||||
*.sln.meta
|
||||
*.suo
|
||||
*.tmp
|
||||
*.user
|
||||
|
@ -8,7 +8,7 @@
|
||||
"displayName": "DragonECS-ClassicThreads",
|
||||
"description": "Classic C# Multithreading for DragonECS",
|
||||
"unity": "2020.3",
|
||||
"version": "0.2.6",
|
||||
"version": "0.2.5",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/DCFApixels/DragonECS-ClassicThreads.git"
|
||||
|
@ -1,8 +1,4 @@
|
||||
#if DISABLE_DEBUG
|
||||
#undef DEBUG
|
||||
#endif
|
||||
|
||||
namespace DCFApixels.DragonECS
|
||||
namespace DCFApixels.DragonECS
|
||||
{
|
||||
public static class EcsCollectionsExtensions
|
||||
{
|
||||
|
@ -1,7 +1,4 @@
|
||||
#if DISABLE_DEBUG
|
||||
#undef DEBUG
|
||||
#endif
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace DCFApixels.DragonECS
|
||||
{
|
||||
|
@ -1,6 +1,3 @@
|
||||
#if DISABLE_DEBUG
|
||||
#undef DEBUG
|
||||
#endif
|
||||
using DCFApixels.DragonECS.ClassicThreadsInternal;
|
||||
using System;
|
||||
using System.Collections.Concurrent;
|
||||
@ -72,7 +69,7 @@ namespace DCFApixels.DragonECS
|
||||
{
|
||||
if (_isRunning)
|
||||
{
|
||||
#if DEBUG || DRAGONECS_STABILITY_MODE
|
||||
#if (DEBUG && !DISABLE_DEBUG) || ENABLE_DRAGONECS_ASSERT_CHEKS
|
||||
if (_threads.Any(o => o.thread == Thread.CurrentThread))
|
||||
{
|
||||
Throw.DoubleParallelIteration();
|
||||
|
Loading…
Reference in New Issue
Block a user