-
Implement an atomic refcounter with a weak but correct (1) memory order, and expose a simple API. (1) See for example "Using weakly ordered C++ atomics correctly" by Hans Boehm at CppCon 2016 (the refcounting part also applies to C11): <https://www.youtube.com/watch?v=M15UKpNlpeM&t=45m15s > Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
618a7899