2
votes
Vote UpVote

Slim Read/Write Lock (SRWLock) – the fast alternative to TMultiReadExclusiveWriteSynchronizer

JEDI Windows API – Another new feature of Windows Vista is the SRW-Lock. It has some advantages compared to a critical section or the TMultiReadExclusiveWriteSynchronizer of Delphi. Lets think about it. The SRWLock was made for the case of a shared resource which will be changed from one ore more threads while there are other threads which want to read the resource. Of course, this can be done with 1 or 2 critical sections. But 1 critical section will block the writing threads and 2 critical sections are 1 too much. Optimized for speed and occupying very little memory the SRWLock provides us the basic ...
Favorite? Off-Topic? chaosben @ 2011-09-16 10:22

Statistics

Visits: 713
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

TOndrej
vcldeveloper
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)