Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetModeFromIsThreadSafe()

static LazyThreadSafetyMode System.LazyHelper.GetModeFromIsThreadSafe ( bool isThreadSafe)
inlinestaticpackage

Definition at line 121 of file LazyHelper.cs.

122 {
123 if (!isThreadSafe)
124 {
125 return LazyThreadSafetyMode.None;
126 }
127 return LazyThreadSafetyMode.ExecutionAndPublication;
128 }