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

◆ NotifyThreadUnblocked()

void System.Threading.PortableThreadPool.NotifyThreadUnblocked ( )
inline

Definition at line 1639 of file PortableThreadPool.cs.

1640 {
1641 bool flag = false;
1643 try
1644 {
1647 {
1648 flag = true;
1649 _pendingBlockingAdjustment = PendingBlockingAdjustment.Immediately;
1650 }
1651 }
1652 finally
1653 {
1655 }
1656 if (flag)
1657 {
1658 GateThread.Wake(this);
1659 }
1660 }
PendingBlockingAdjustment _pendingBlockingAdjustment

References System.Threading.PortableThreadPool._numBlockedThreads, System.Threading.PortableThreadPool._numThreadsAddedDueToBlocking, System.Threading.PortableThreadPool._pendingBlockingAdjustment, System.Threading.PortableThreadPool._separated, System.Threading.PortableThreadPool._threadAdjustmentLock, System.Threading.LowLevelLock.Acquire(), System.Threading.PortableThreadPool.CacheLineSeparated.counts, System.Threading.PortableThreadPool.ThreadCounts.NumThreadsGoal, System.Threading.LowLevelLock.Release(), System.Threading.PortableThreadPool.TargetThreadsGoalForBlockingAdjustment, and System.Threading.PortableThreadPool.GateThread.Wake().