C# Class Nexus.Client.Util.Threading.TrackedThread

A thread that is tracked by the TrackedThreadManager.
Show file Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
Start ( ) : void

Starts the thread.

Start ( object p_objParam ) : void

Starts the thread.

TrackedThread ( ParameterizedThreadStart p_ptsThreadMethod ) : System.Threading

Initializes the object with the given values.

TrackedThread ( ThreadStart p_tdsThreadMethod ) : System.Threading

Initializes the object with the given values.

Private Methods

Method Description
RunParameterizedThread ( object p_objParam ) : void

Executes the paramterized method from within the thread.

Once the method returns, the thread is removed from the TrackedThreadManager and exits.

RunThread ( ) : void

Executes the non-parameterized method from within the thread.

Once the method returns, the thread is removed from the TrackedThreadManager and exits.

Method Details

Start() public method

Starts the thread.
public Start ( ) : void
return void

Start() public method

Starts the thread.
public Start ( object p_objParam ) : void
p_objParam object The parameter to pass to the thread.
return void

TrackedThread() public method

Initializes the object with the given values.
public TrackedThread ( ParameterizedThreadStart p_ptsThreadMethod ) : System.Threading
p_ptsThreadMethod ParameterizedThreadStart The method to call when the thread starts.
return System.Threading

TrackedThread() public method

Initializes the object with the given values.
public TrackedThread ( ThreadStart p_tdsThreadMethod ) : System.Threading
p_tdsThreadMethod ThreadStart The method to call when the thread starts.
return System.Threading