Skip to content

Add the typed atomic classes Haxe 5's haxe.atomic now needs #416

Closed

Activity

  1. added
    haxe 5Only affects Haxe 5 (API level 500); fixable here, needs Haxe 5 to test
    on Oct 31, 2026
  2. dimensionscape commented on Nov 1, 2026

    @dimensionscape
    MemberAuthor

    Fixed in 0a656d7. hx/atomic/AtomicInt.hpp and AtomicObject.hpp are header only and hold their std::atomic directly, so nothing leaks per atomic. compareExchange returns the value it found, and each operation is a GC safe point. HaxeAtomics, CppiaHaxeAtomics and the native suite's TestAtomicObject cover them; TestAtomicObject runs with Haxe 5 builds that have HaxeFoundation/haxe#13095.

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

    haxe 5Only affects Haxe 5 (API level 500); fixable here, needs Haxe 5 to test

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions