hxcpp icon indicating copy to clipboard operation
hxcpp copied to clipboard

Atomic operations.

Open Apprentice-Alchemist opened this issue 3 years ago • 5 comments

See HaxeFoundation/haxe#10610

Apprentice-Alchemist avatar Mar 01 '22 12:03 Apprentice-Alchemist

@hughsando Could you take a quick look if this is the right approach for hxcpp?

Simn avatar Mar 26 '22 10:03 Simn

Do these differ from the versions in include/hx/Thread.h ?

hughsando avatar Mar 29 '22 11:03 hughsando

Oh right, forgot those were a thing. Let's see, there's more operations, and these only uses intrinsics (those macOS OSAtomic* functions are deprecated).

If you prefer I can merge the two sets of atomic operations.

Apprentice-Alchemist avatar Apr 01 '22 12:04 Apprentice-Alchemist

Yes, I think that would be better.

Simn avatar Apr 04 '22 04:04 Simn

~~I'm not sure why the CI hung, that test works fine on my machine....~~ CI works fine now.

Apprentice-Alchemist avatar Apr 10 '22 09:04 Apprentice-Alchemist

Is this what broke android? https://github.com/haxenme/nme/issues/720

thomasuster avatar Jan 27 '24 05:01 thomasuster