I am looking for a function that represents the D atomic CAS interface on Intel x86.
I know that I can do this using the built-in ASM (and if necessary, I will), but I would prefer to just take the code from someone else if I can.
From the documentation at: http://www.digitalmars.com/d/2.0/overview.html
Inline assembler, , , , . D , . , DLL.D -, ..
Inline assembler
, , , , . D , . , DLL.
D -, ..
, CMPXCHG .
Edit
: http://www.dsource.org/projects/tango/browser/trunk/tango/core/Atomic.d?rev=4277
- , CMPXCHG , .
Source: https://habr.com/ru/post/1704294/More articles:An example of a data creation tool (mainly for databases) - random-samplehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1704290/is-it-ok-to-set-datacontext-as-a-property-in-repository&usg=ALkJrhhTcJ7G4GxbDspC_-HGMEL6iyVs_gHow does .NET create a SHA1 hash? - .netHow to make copied boost :: signal? - c ++распечатать с html-страниц в формате A4 - htmlКак я могу реализовать текстовое поле для автоматического выделения, например, для адресов электронной почты на iPhone? - iphoneWhy does django check if .DATABASE_NAME db parameters really exist to run test systems? - databaseИнтерфейс Java расширяет вопросы - javaUsing jquery in asp.net main page - jqueryJQuery ajaxStart event not writing to ASP.net AJAX - jqueryAll Articles