The insanely scalable ReaderWriterGate lock(msdn2.microsoft.com)

submitted by JudahGabrielJudahGabriel(814) 4 years, 1 month ago

Wintellect's Jeffrey Richter, the Win32 threading guru, has written a library containing a new kind of lock: the ReaderWriterGate. Unlike other locks, this lock is highly scalable and fast with very few thread context switches. Works well with ASP.NET web apps as well.

4 comments |category: |Views: 78

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by JudahGabrielJudahGabriel(814) 4 years, 1 month ago 0

Oldie, but not too many folks know about this lock or the other high-performance threading tools inside the PowerThreading lib. Definitely worth your while.

Reply

posted by CVertexCVertex(325) 4 years, 1 month ago 0

I knew Jeffrey wrote a killer ReaderWriterLock implementation (and I thought he sold it to MS) then ReaderWriterLockSlim was released in 3.5.
I wonder how this differs from ReaderWriterLockSlim if this is an old article.

Reply

posted by yesthatmcgurkyesthatmcgurk(4063) 4 years, 1 month ago 0

Aaah, Jeffrey Richter. I fell in love with him when I read his great romance novel, CLR Via C#. I read a chapter out of that book every night before I go to bed.

Reply

posted by JudahGabrielJudahGabriel(814) 4 years, 1 month ago 0

RE CVertex: The .NET 3.5 ReaderWriterLockSlim is an entirely different implementation of a reader writer lock; it is by no means the same as the ReaderWriterGate discussed in the article.

Reply

information Login or create an account to comment on this story