CRYPTO_atomic_add(): use acquire release memory order rather than relaxed
For increments, the relaxed model is fine. For decrements, it's
recommended to use the acquire release model. We therefore go for the
latter.
Reviewed-by: NAndy Polyakov <appro@openssl.org>
Showing
想要评论请 注册 或 登录