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


Groups > comp.programming.threads > #4531 > unrolled thread

About portability of my projects

Started bySky89 <Sky89@sky68.com>
First post2018-08-04 18:28 -0400
Last post2018-08-04 18:28 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.programming.threads


Contents

  About portability of my projects Sky89 <Sky89@sky68.com> - 2018-08-04 18:28 -0400

#4531 — About portability of my projects

FromSky89 <Sky89@sky68.com>
Date2018-08-04 18:28 -0400
SubjectAbout portability of my projects
Message-ID<pk4r7m$evj$2@dont-email.me>
Hello..

About portability of my projects

I have thought more, and as you have noticed i have written Intel 
assembler routines for 32 bit and 64 bit for atomically incrementing and 
and for atomically CompareExchange etc. so now they are working with x86 
AMD and Intel processors for 32 bit and 64 bit, but i will soon make
my Delphi and FreePascal and C++ libraries portable the other CPUs
like ARM(for Android) etc. for that i will use the following Delphi 
method for Delphi:

http://docwiki.embarcadero.com/Libraries/XE8/en/System.SyncObjs.TInterlocked.CompareExchange

And I will use the same functions that you find inside FreePascal, here 
they are:

https://www.freepascal.org/docs-html/rtl/system/interlockedcompareexchange.html

and also the following for 64 bit:

https://www.freepascal.org/docs-html/rtl/system/interlockedcompareexchange64.html


I will use them inside my scalable lock that is called scalable MLock
that i have "invented", so that it will be portable, here it is:

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


And when my scalable MLock will become portable on Delphi and FreePascal
i will port with it all my other libraries that uses atomically 
increment and decrement etc., so my libraries will become portable
on the other CPUs like Android etc., so i think you will be happy with 
my work.


Stay tunned !


Thank you,
Amine Moulay Ramdane.

[toc] | [standalone]


Back to top | Article view | comp.programming.threads


csiph-web