mirror of
https://github.com/DCFApixels/DragonECS-ClassicThreads.git
synced 2025-09-18 20:14:36 +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
|
*.csproj
|
||||||
*.unityproj
|
*.unityproj
|
||||||
*.sln
|
*.sln
|
||||||
*.sln.meta
|
|
||||||
*.suo
|
*.suo
|
||||||
*.tmp
|
*.tmp
|
||||||
*.user
|
*.user
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"displayName": "DragonECS-ClassicThreads",
|
"displayName": "DragonECS-ClassicThreads",
|
||||||
"description": "Classic C# Multithreading for DragonECS",
|
"description": "Classic C# Multithreading for DragonECS",
|
||||||
"unity": "2020.3",
|
"unity": "2020.3",
|
||||||
"version": "0.2.6",
|
"version": "0.2.5",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/DCFApixels/DragonECS-ClassicThreads.git"
|
"url": "https://github.com/DCFApixels/DragonECS-ClassicThreads.git"
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
#if DISABLE_DEBUG
|
namespace DCFApixels.DragonECS
|
||||||
#undef DEBUG
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace DCFApixels.DragonECS
|
|
||||||
{
|
{
|
||||||
public static class EcsCollectionsExtensions
|
public static class EcsCollectionsExtensions
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
#if DISABLE_DEBUG
|
using System;
|
||||||
#undef DEBUG
|
|
||||||
#endif
|
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace DCFApixels.DragonECS
|
namespace DCFApixels.DragonECS
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
#if DISABLE_DEBUG
|
|
||||||
#undef DEBUG
|
|
||||||
#endif
|
|
||||||
using DCFApixels.DragonECS.ClassicThreadsInternal;
|
using DCFApixels.DragonECS.ClassicThreadsInternal;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Concurrent;
|
using System.Collections.Concurrent;
|
||||||
@ -72,7 +69,7 @@ namespace DCFApixels.DragonECS
|
|||||||
{
|
{
|
||||||
if (_isRunning)
|
if (_isRunning)
|
||||||
{
|
{
|
||||||
#if DEBUG || DRAGONECS_STABILITY_MODE
|
#if (DEBUG && !DISABLE_DEBUG) || ENABLE_DRAGONECS_ASSERT_CHEKS
|
||||||
if (_threads.Any(o => o.thread == Thread.CurrentThread))
|
if (_threads.Any(o => o.thread == Thread.CurrentThread))
|
||||||
{
|
{
|
||||||
Throw.DoubleParallelIteration();
|
Throw.DoubleParallelIteration();
|
||||||
|
Loading…
Reference in New Issue
Block a user