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

◆ Start() [3/4]

void System.Threading.Thread.Start ( object parameter,
bool captureContext )
inlineprivate

Definition at line 585 of file Thread.cs.

586 {
587 StartHelper startHelper = _startHelper;
588 if (startHelper != null)
589 {
590 if (startHelper._start is ThreadStart)
591 {
592 throw new InvalidOperationException(SR.InvalidOperation_ThreadWrongThreadStart);
593 }
594 startHelper._startArg = parameter;
595 startHelper._executionContext = (captureContext ? System.Threading.ExecutionContext.Capture() : null);
596 }
597 StartCore();
598 }
static ? ExecutionContext Capture()
unsafe void StartCore()
Definition Thread.cs:371
StartHelper _startHelper
Definition Thread.cs:164
delegate void ThreadStart()

References System.Threading.Thread._startHelper, System.Threading.ExecutionContext.Capture(), System.SR.InvalidOperation_ThreadWrongThreadStart, System.Threading.Thread.StartCore(), and System.Threading.ThreadStart().