upd: threadpool
This commit is contained in:
@@ -2,8 +2,10 @@
|
|||||||
|
|
||||||
using Threading;
|
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);
|
||||||
Reference in New Issue
Block a user