Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update docs and tests for weak cas! and lock! operations #731

Merged
merged 1 commit into from
Oct 18, 2023

Commits on Oct 18, 2023

  1. update docs and tests for weak cas! and lock! operations

    The `vector-cas!`, `box-cas!`, and `ftype-lock!` operations are "weak"
    in the sense that they may spuriously fail on an architecture (like
    AArch64) with a weak memory model. Also, they do not necessarily imply
    any overall memory ordering, so using `memory-order-acquire` and
    `memory-order-release` may be needed. The documentation did not make
    this clear, and some tests did not handle spurious failure.
    
    Closes cisco#720
    mflatt committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    469ac1c View commit details
    Browse the repository at this point in the history