Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/PhotonLibOS
/ reader
Method
reader
common/objectcachev2.h:61–61 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
59
return update({nullptr}, ts);
60
}
61
std::shared_ptr<V> reader() { return std::atomic_load(&ref); }
62
63
void acquire() {
64
timestamp = photon::now;
Callers
1
borrow
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected