-
Notifications
You must be signed in to change notification settings - Fork 32
Provide a guaranteed-lock-free type? #46
Comments
In Issue #77, @pizlonator expressed a preference for guaranteed four-byte lock-free access (probably int32, in practice, uint32 being a bit awkward for JS). |
I think 32-bit values are likely to work on all the HW we target. C++ is overly cautious with |
OK. +1 from me. Proposed spec changes:
In reference to my earlier remark above, this would be independent of whether the access type is int32 or uint32, since the atomic operation would only be expressed on a machine word anyhow; any pre/post conversion is immaterial. @binji, opinions? |
sgtm, it's hard for me to imagine an architecture that supports SABs where this wouldn't be true. |
Specs changed and published. |
In Issue #7 @jfbastien writes:
The text was updated successfully, but these errors were encountered: