Skip to content

Add the volatile qualifier to shared memory pointers #34

@maxwellpirtle

Description

@maxwellpirtle

After reading a bit more about the volatile keyword in a couple of places, it seems that we need to mark any data we have in shared memory as volatile to prevent the compiler from making an optimization it shouldn't make. We'd effectively be marking our data as being allowed to be changed outside of the current program or in ways that the compiler can't determine statically, if I understand correctly. This should be a pretty small addition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort: 1Requires little effort to completepriority: soonUse for urgent problemstype: bugThe issue specifies a bugwork: obviousCynefin clear: the work involves problems with well-known "best practice" solutions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions