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

◆ AddNewChild() [2/2]

void System.Threading.Tasks.Task< TResult >.AddNewChild ( )
inlinepackageinherited

Definition at line 1485 of file Task.cs.

1486 {
1488 if (contingentProperties.m_completionCountdown == 1)
1489 {
1490 contingentProperties.m_completionCountdown++;
1491 }
1492 else
1493 {
1494 Interlocked.Increment(ref contingentProperties.m_completionCountdown);
1495 }
1496 }
ContingentProperties EnsureContingentPropertiesInitialized()
Definition Task.cs:1637

References System.Threading.Tasks.Task< TResult >.EnsureContingentPropertiesInitialized(), and System.Threading.Interlocked.Increment().

Referenced by System.Threading.Tasks.Task< TResult >.TaskConstructorCore().