Skip to content

Spurious races due to non-atomic treatment of __VERIFIER_atomic*-prefixed functions #1

@sim642

Description

@sim642

Although TSan excludes accesses from within these functions from racing, they aren't executed atomically (with the special atomic mutex held). This allows them to be interleaved, causing spurious races, e.g. with value-based mutex modeling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions