C# Class wmib.Core.ThreadManager

Used to keep track of all threads used by a bot, it's recommended to register every single thread you create here so that we can keep track of them. You can also use this to list all current threads, kill them, etc
Mostra file Open project: benapetr/wikimedia-bot

Public Methods

Method Description
KillThread ( Thread t ) : void
RegisterThread ( Thread t ) : void
UnregisterThread ( Thread t ) : void

Method Details

KillThread() public static method

public static KillThread ( Thread t ) : void
t Thread
return void

RegisterThread() public static method

public static RegisterThread ( Thread t ) : void
t Thread
return void

UnregisterThread() public static method

public static UnregisterThread ( Thread t ) : void
t Thread
return void