MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / setrefcount

Method setrefcount

src/object.cpp:1572–1576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1570}
1571
1572void redisObject::setrefcount(unsigned ref)
1573{
1574 serverAssert(!FExpires());
1575 refcount.store(ref, std::memory_order_relaxed);
1576}
1577
1578sds serializeStoredStringObject(sds str, robj_roptr o)
1579{

Callers 4

createObjectFunction · 0.80
makeObjectSharedFunction · 0.80
signalKeyAsReadyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected