mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[Build] Remove set thread count
This commit is contained in:
@@ -18,9 +18,6 @@ namespace SabreTools.Library.Data
|
|||||||
/// <param name="name">The name to be displayed as the program</param>B
|
/// <param name="name">The name to be displayed as the program</param>B
|
||||||
public static void Start(string name)
|
public static void Start(string name)
|
||||||
{
|
{
|
||||||
// Set the maximum number of threads right off the bat
|
|
||||||
System.Threading.ThreadPool.SetMaxThreads(Globals.MaxThreads, Globals.MaxThreads);
|
|
||||||
|
|
||||||
// Dynamically create the header string, adapted from http://stackoverflow.com/questions/8200661/how-to-align-string-in-fixed-length-string
|
// Dynamically create the header string, adapted from http://stackoverflow.com/questions/8200661/how-to-align-string-in-fixed-length-string
|
||||||
int width = Console.WindowWidth - 3;
|
int width = Console.WindowWidth - 3;
|
||||||
string border = "+" + new string('-', width) + "+";
|
string border = "+" + new string('-', width) + "+";
|
||||||
|
|||||||
Reference in New Issue
Block a user