View Issue Details

IDProjectCategoryView StatusLast Update
0000550Medieval EngineersEnhancementpublic2026-01-10 14:03
Reporterpeaceman Assigned Toequinox  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status closedResolutionwon't fix 
PlatformWindows 
Summary0000550: Modding whitelist request for threading methods
Description

Add whitelist support for System.Threading or the following methods can be added to something like Sandbox.ModAPI.MyParallelTask

public void Sleep(int ms)
{
Thread.Sleep(ms);
}

public int Increment(ref int value)
{
return Interlocked.Increment(ref value);
}

TagsNo tags attached.

Relationships

has duplicate 0000552 closedequinox Modding whitelist request for threading methods  

Activities

equinox

2026-01-10 13:49

administrator   #~0000446

Interlocked is already whitelisted.
Sleep will not be whitelisted because the threading provided to mods is shared, and sleeping those shared threads prevents other tasks from running. If you need to schedule things to run in the future use AddScheduledCallback and immediately schedule your background work from the callback.

Issue History

Date Modified Username Field Change
2026-01-10 13:41 peaceman New Issue
2026-01-10 13:49 equinox Assigned To => equinox
2026-01-10 13:49 equinox Status new => closed
2026-01-10 13:49 equinox Resolution open => won't fix
2026-01-10 13:49 equinox Note Added: 0000446
2026-01-10 14:03 equinox Relationship added has duplicate 0000552