Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming.threads > #1706
| From | aminer <aminer@toto.net> |
|---|---|
| Newsgroups | comp.programming.threads, comp.programming |
| Subject | Scalable RWLock version 1.0 |
| Date | 2013-09-08 14:08 -0700 |
| Organization | albasani.net |
| Message-ID | <l0ieeo$e5f$1@news.albasani.net> (permalink) |
Cross-posted to 2 groups.
Scalable RWLock 1.0 is here...
Author: Amine Moulay Ramdane.
Description:
Description: A fast and scalable Multiple-Readers-Exclusive-Writer Lock
that works across processes and threads.
A Read/Write Lock is a performance improvement over a standard mutex for
cases where reads outnumber writes. with a Read/Write Lock multiple
simultaneous read locks may be held, but write locks are exclusively held.
The exclusive writing lock ensures that race conditions do not occur,
since if one client is writing to the data no other client may read or
write. Also, the allowance for multiple simultaneous read locks
decreases resource contention since multiple readers can safely use the
shared data. This increases performance over a standard mutex for the
assumed usage pattern of frequent simultaneous reads and infrequent writes.
Click here to see the explanation of my RWLock algorithm:
http://pages.videotron.com/aminer/rwlock1.html
You can download my scalable RWLock from:
http://pages.videotron.com/aminer/
Please take a look a the test.pas Object Pascal demo inside the zipfile,
compile and run it...
Language: FPC Pascal v2.2.0+ / Delphi 7+: http://www.freepascal.org/
Operating Systems: Windows, Mac OSX , Linux , Unix...
Required FPC switches: -O3 -Sd -dFPC -dFreePascal
-Sd for delphi mode....
{$DEFINE CPU32} and {$DEFINE Win32} for 32 bits systems
{$DEFINE CPU64} and {$DEFINE Win64} for 64 bits systems
Thank you,
Amine Moulay Ramdane.
Back to comp.programming.threads | Previous | Next — Next in thread | Find similar
Scalable RWLock version 1.0 aminer <aminer@toto.net> - 2013-09-08 14:08 -0700
Re: Scalable RWLock version 1.0 aminer <aminer@toto.net> - 2013-09-09 15:58 -0700
Re: Scalable RWLock version 1.0 "Chris M. Thomasson" <no@spam.invalid> - 2013-09-09 13:23 -0700
Re: Scalable RWLock version 1.0 aminer <aminer@toto.net> - 2013-09-09 16:48 -0700
Re: Scalable RWLock version 1.0 aminer <aminer@toto.net> - 2013-09-13 08:44 -0700
Re: Scalable RWLock version 1.0 aminer <aminer@toto.net> - 2013-09-13 09:16 -0700
csiph-web