Do you know how a thread-safe reference counter is actually implemented, and can you walk through the implementation and underlying mechanics?