Skip to content

volatile int is_freeing is not compatible with _WIN64 bit __CAS #8

Closed

Description

@femady

volatile int is_freeing is not compatible with _WIN64 bit __CAS, please kindly change to int64_t?

Activity

  1. darkautism commented on Sep 7, 2018

    @darkautism
    Owner

    Which compiler and OS has this problem?

  2. femady commented on Sep 7, 2018

    @femady
    Author

    VS2017 64bit built, I change to int64_t , then working fine

  3. darkautism commented on Sep 26, 2026

    @darkautism
    Owner

    Fixed in #11: the Win64 atomic layer no longer applies an 8-byte CAS to 32-bit int fields. The producer/consumer state now uses typed 32-bit Interlocked operations, and PR #11 passes the Windows MSVC CI job.

  4. darkautism commented on Sep 26, 2026

    @darkautism
    Owner

    Fixed and merged in #11 (5ec82ef). Win64 now uses typed 32-bit Interlocked operations for the 32-bit state fields, and the Windows MSVC build/tests plus the Visual Studio solution build pass in CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions