Add PLATFORM_THREADS_LIMIT for maximum concurrency limiting

This commit is contained in:
Wojtek Figat
2021-07-08 00:25:49 +02:00
parent 29be6b0068
commit 446458d20c
12 changed files with 16 additions and 15 deletions

View File

@@ -116,7 +116,7 @@ public:
/// <summary>
/// The objects lookup identifier mapping used to override the object ids on FindObject call (used by the object references deserialization).
/// </summary>
static ThreadLocal<IdsMappingTable*, 32, true> ObjectsLookupIdMapping;
static ThreadLocal<IdsMappingTable*, PLATFORM_THREADS_LIMIT, true> ObjectsLookupIdMapping;
/// <summary>
/// Finds the object by the given identifier. Searches registered scene objects and optionally assets. Logs warning if fails.