Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

My C++ synchronization objects library was updated..

4 views
Skip to first unread message

Ramine

unread,
May 8, 2016, 3:19:01 PM5/8/16
to
Hello,


My C++ synchronization objects library was updated..

I have just corrected a minor bug in my scalable DRWLock and
scalable DRWLockX, i have updated them to version 1.48

And i have tested my library thoroughly, and now i think
that it is more stable and fast.

You can download C++ synchronization objects library from:

https://sites.google.com/site/aminer68/c-synchronization-objects-library


Thank you,
Amine Moulay Ramdane.

Ramine

unread,
May 10, 2016, 3:14:35 PM5/10/16
to
Hello....


My C++ synchronization objects library was updated..

I have just updated my C++ synchronization objects library,
i have made some variables "volatile" in my scalable Asymmetric
Distributed Read-Writer Mutex algorithms, to be sure of visibility
accross cores, so now you can be more confident.

So you can download my new and extended C++ synchronization objects

Ramine

unread,
May 10, 2016, 3:36:04 PM5/10/16
to

Hello,

Please take a look at the source code of the Delphi XE
DRWLock here:

https://sites.google.com/site/aminer68/scalable-distributed-reader-writer-mutex

I have delclared the following variables in LW_RWLockx.pas
"volatile" like this:

[Volatile] FCount1: PMyRecord1;
[Volatile] FCount2: PMyRecord2;
[Volatile] FCount3: PMyRecord3;
[Volatile] nbr: PMyRecord4;

And i have delclared the following variable in RWLockx.pas
"volatile" like this:

[Volatile] FCount1: PMyRecord1;
[Volatile] FCount2: PMyRecord2;
[Volatile] FCount3: PMyRecord3;
[Volatile] nbr: PMyRecord4;
[Volatile] nbr1: PMyRecord5;


So now you can be more confident of visibility accross cores.
0 new messages