upd: threadpool

This commit is contained in:
2025-02-12 17:12:28 +03:00
parent 0b30f2e1b6
commit a3aadccef3

View File

@@ -2,8 +2,10 @@
using Threading;
//Console.WriteLine("Hello, World!");
Console.WriteLine($"There are {ThreadPool.ThreadCount} threads in the pool.");
//await WaitThread.RunTaskBlocking();
await WaitThread.RunTaskNonBlocking();
await ShaRunner.RunMultiple(10000);
Console.WriteLine($"There are {ThreadPool.ThreadCount} threads in the pool.");
//await ShaRunner.RunMultiple(10000);