Discussion:
Thread Barrier for Delphi and Freepascal version 1.0 is here..
(trop ancien pour répondre)
World90
2021-04-21 15:32:44 UTC
Permalink
Hello....


Thread Barrier for Delphi and Freepascal version 1.0 is here..

Amine Moulay Ramdane has added his condition variable implementation and
his scalable Lock called scalable MLock that both work with both Windows
and Linux and he has made the Thread Barrier work with both Windows and
Linux, and now you can pass a parameter to the constructor of the Thread
Barrier as ctMutex to use a Mutex or ctMLock to use a scalable Lock
called MLock or ctCriticalSection to use a Crital Section.

You can download it from my website here:

https://sites.google.com/site/scalable68/thread-barrier-for-delphi-and-freepascal

Language: FPC Pascal v2.2.0+ / Delphi 5+: http://www.freepascal.org/

Required FPC switches: -O3 -Sd

-Sd for delphi mode....

Required Delphi XE-XE7 and Tokyo switch: -$H+ -DXE

You can configure it as follows from inside defines.inc file:

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

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

- Platform: Windows, Unix and Linux (x86)

a
Thank you,
Amine Moualy Ramdane.
World90
2021-04-21 15:42:07 UTC
Permalink
Post by World90
Hello....
Thread Barrier for Delphi and Freepascal version 1.0 is here..
Amine Moulay Ramdane has added his condition variable implementation and
his scalable Lock called scalable MLock that both work with both Windows
and Linux and he has made the Thread Barrier work with both Windows and
Linux, and now you can pass a parameter to the constructor of the Thread
Barrier as ctMutex to use a Mutex or ctMLock to use a scalable Lock
called MLock or ctCriticalSection to use a Crital Section.
https://sites.google.com/site/scalable68/thread-barrier-for-delphi-and-freepascal
Language: FPC Pascal v2.2.0+ / Delphi 5+: http://www.freepascal.org/
Required FPC switches: -O3 -Sd
-Sd for delphi mode....
Required Delphi XE-XE7 and Tokyo switch: -$H+ -DXE
{$DEFINE CPU32} and {$DEFINE Windows32} for 32 bit systems
{$DEFINE CPU64} and {$DEFINE Windows64} for 64 bit systems
- Platform:  Windows, Unix and Linux (x86)
a
Thank you,
Amine Moualy Ramdane.
And of course Amine Moulay Ramdane is me.


Thank you,
Amine Moulay Ramdane.

Loading...