Skip to content
Commit 96d7852c authored by Andy Polyakov's avatar Andy Polyakov
Browse files

internal/refcount.h: overhaul fencing and add _MSC_VER section.



Relax memory_order on counter decrement itself, because mutable
members of the reference-counted structure should be visible on all
processors independently on counter. [Even re-format and minimize
dependency on other headers.]

Reviewed-by: default avatarKurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/6900)
parent 86ed2e1c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment