EasyCaching icon indicating copy to clipboard operation
EasyCaching copied to clipboard

Performance improvement for .NET 9.0+

Open MarkCiliaVincenti opened this issue 1 year ago • 3 comments

MarkCiliaVincenti avatar Aug 11 '24 17:08 MarkCiliaVincenti

Before .NET 9 release a stable version, we shall not add it in TargetFrameworks.

catcherwong avatar Aug 13 '24 01:08 catcherwong

Before .NET 9 release a stable version, we shall not add it in TargetFrameworks.

Fair enough, otherwise LGTY?

MarkCiliaVincenti avatar Aug 13 '24 06:08 MarkCiliaVincenti

Due to the possibility of thread aborts in .NET Standard 2.0 (they were removed in .NET 5.0), unfortunately we need to change the methods here to use the 'factory method' as explained in https://github.com/MarkCiliaVincenti/Backport.System.Threading.Lock. Let me know if you are interested and I will amend this PR.

MarkCiliaVincenti avatar Oct 01 '24 08:10 MarkCiliaVincenti