You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jacob S. Barrett (JIRA)" <ji...@apache.org> on 2017/08/17 17:11:00 UTC

[jira] [Closed] (GEODE-2493) Replace the locking and CAS operations provided in HostAsm with C++11 standards

     [ https://issues.apache.org/jira/browse/GEODE-2493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacob S. Barrett closed GEODE-2493.
-----------------------------------

> Replace the locking and CAS operations provided in HostAsm with C++11 standards
> -------------------------------------------------------------------------------
>
>                 Key: GEODE-2493
>                 URL: https://issues.apache.org/jira/browse/GEODE-2493
>             Project: Geode
>          Issue Type: Task
>          Components: native client
>            Reporter: Jacob S. Barrett
>            Assignee: Jacob S. Barrett
>
> Several platform specific locking and CAS operations are implemented in HostAsm and related files. These are not portable and require porting efforts. They are also not well tested. Converting the C++11 standards allows the compiler to choose the code or instructions that optimize the behavior required. Most if not all of the functions these files provide can be replaced with C++11 standard functions.
> Some Examples:
> On Solaris SPARC we have inline assembly.
> On Solaris x86 we use Solaris specific runtime functions.
> On Windows we use really old Win32 functions that have some non-standard behavior.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)