amibar / SmartThreadPool

A .NET Thread Pool fully implemented in C# with many features
http://www.codeproject.com/Articles/7933/Smart-Thread-Pool
Microsoft Public License
508 stars 182 forks source link

Follow-up support plan #37

Open wurangbo opened 5 months ago

wurangbo commented 5 months ago

This repository has not been updated for a long time. Is there any further update in the next step, such as .net7 .net8...

MichelZ commented 5 months ago

It works just fine in .net7 and .net8 ?

srxqds commented 5 months ago

as we know, c# also have thread pool, Is it still necessary or advantageous based on .net8.0?

MichelZ commented 4 months ago

I still use it, I like the simplicity of it

srxqds commented 4 months ago

any benchmark between .net8 and this library?

ahazelwood commented 4 months ago

We still use it quite extensively as it allows features such as maintaining a queue, etc. that are useful to us, and would require quite a rewrite to fully switch over to the base thread pool.

amibar commented 4 months ago

The SmartThreadPool doesn’t compete with the built-in .net thread pool for speed. It should be used for “long” running actions, rather than short ones, that cause many context switches.

The SmartThreadPool is more about features, such as:

wurangbo commented 4 months ago

The advantages of SmartThreadPool are unquestionable, But a long period of no updates will make developers feel hesitant when choosing @amibar