Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.pascal.misc > #829

Scalable MLock version 1.1

From aminer <aminer@toto.net>
Newsgroups comp.lang.pascal.misc
Subject Scalable MLock version 1.1
Date 2014-05-22 21:47 -0700
Organization albasani.net
Message-ID <llm9b3$cfu$3@news.albasani.net> (permalink)

Show all headers | View raw


Hello,

Scalable MLock was updated to version 1.1, now it has
become 100% FIFO fair, and of course it's scalable
and starvation-free.


Author: Amine Moulay Ramdane.

Description:

A node based Lock that is scalable, FIFO fair and starvation-free.

- Discovered by Amine Moulay Ramdane

- This lock is scalable

- It has the same space requirement as the scalable MCS lock

- Doesn't require a local "queue node" to be passed in as a parameter 
as is doing the MCS and CLH locks.

- Spins only on local locations on a cache-coherent machine

Please take a look a the test.pas Object Pascal demo inside the zipfile, 
compile and run it...


You can download my scalable MLock from:

https://sites.google.com/site/aminer68/scalable-mlock


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....

Required Delphi switches: -$H+ -DDELPHI

{$DEFINE CPU32} and {$DEFINE Windows32} for 32 bit systems


{$DEFINE CPU64} and {$DEFINE Windows64} for 64 bit systems


Thank you,
Amine Moulay Ramdane.

Back to comp.lang.pascal.misc | Previous | Next | Find similar


Thread

Scalable MLock version 1.1 aminer <aminer@toto.net> - 2014-05-22 21:47 -0700

csiph-web