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

    From World90@21:1/5 to All on Wed Apr 21 11:32:12 2021
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)