Hello,
An enhanced version of the scalable Anderson array based Lock version 1.0 is here...
Authors: Amine Moulay Ramdane.
Description:
An enhanced version of the scalable Anderson array based Lock.
Note: You have to use a number of threads not greater than 1X times the number of cores so that the Anderson Lock will be optimal and scalable.
Please take a look a the test.pas Object Pascal demo inside the zipfile, compile and run it...
You can download the enhanced version of the scalable Anderson array based Lock from:
http://pages.videotron.com/aminer/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 Windows32} for 32 bit systems
{$DEFINE CPU64} and {$DEFINE Windows64} for 64 bit systems
Thank you,
Amine Moulay Ramdane.