Add `s_mp_cmpexch_n()`
commit795f7ba5f5064e8f9bffc0691c5052e9e7a7b140
authorSteffen Jaeckel <s@jaeckel.eu>
Thu, 14 Mar 2024 12:16:01 +0000 (14 13:16 +0100)
committerSteffen Jaeckel <s@jaeckel.eu>
Wed, 27 Mar 2024 15:25:27 +0000 (27 16:25 +0100)
treef901cce9c745981ce09c0c8cb2bf9c0029cb1768
parent18e67e1888a801d550b3a9e3e21943fca0d45875
Add `s_mp_cmpexch_n()`

To be able to support this for MSVC as well, we have to move this into a
separate private API function.

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
s_mp_cmpexch_n.c [new file with mode: 0644]
s_mp_warray_get.c
tommath_class.h
tommath_private.h