Groups
Groups
Sign in
Groups
Groups
comp.lang.c++
Conversations
About
Send feedback
Help
Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Learn more
Since Delphi and FreePascal can reorder loads and stores when optimizing.
9 views
Skip to first unread message
Ramine
unread,
Mar 19, 2017, 10:30:26 AM
3/19/17
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello,
Since Delphi and FreePascal can reorder loads and stores when optimizing.
Here is what i will do:
I will set optimization off in the source code of MLock and AMLock
and the TicketSpinlock with a proportional back-off:
by using this in FreePascal:
{$OPTIMIZATION ON}
http://www.freepascal.org/docs-html/prog/progsu58.html
and by using this in Delphi:
{$O-}
http://docwiki.embarcadero.com/RADStudio/Seattle/en/Optimization_(Delphi)
This way is easy, so i will updated my projects and C++ projects soon.
That's all,
Amine Moulay Ramdane.
0 new messages