Skip to content
0:00 / 0:00

#.net9#lock#threadsafety

How Thread Safety is Changing in .NET 9

Nick Chapsas

429K subscribers • 62 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Nick Chapsas

Intermediate. Assumes working knowledge.

45K views2 years ago2 recommendations

Systems programmingProgramming languagesC# and .NETConcurrency and parallelismPerformance and optimization

Nick Chapsas introduces the new System.Threading.Lock class in .NET 9 and explains how it improves thread safety and performance.

Get our Singleton Course for free: dometrain.com/course/design-patterns-singleton Check out our new OpenTelemetry course: dometrain.com/course/from-zero-to-hero-open-telemetry-in-dot… Become a Patreon and get special perks: patreon.com/nickchapsas Hello, everybody. I'm Nick, and in this video, I will introduce you to a new C# type coming in .NET 9, which is how you will be doing locking and thread safety from now on. Workshops: bit.ly/nickworkshops Don't forget to comment, like and subscribe :) Social Media: Follow me on GitHub: github.com/Elfocrash Follow me on Twitter: twitter.com/nickchapsas Connect on LinkedIn: linkedin.com/in/nick-chapsas Keep coding merch: keepcoding.shop #csharp #dotnet

Why it's here

2 people recommend this

What people say. Recommended as a clear overview of the new Lock class and thread safety changes in .NET 9.

u/Kralizek82in r/dotnet • Recommends

On “.NET 9 Lock Class”

There is a nice video by Nick Chapsas that gives a good overview link to this video

u/JackTheMachinein r/dotnet • Recommends

On “What Classes do you use for Locking?”

\- Update to .net 9 and use System.Threading.Lock. \- Use SemaphoreSlim with a custom extension or use Nito.AsyncEx. Please check this youtube video [video