MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / register_pool

Method register_pool

common/identity-pool.cpp:114–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 }
113
114 int register_pool(IdentityPoolBase* entry) {
115 photon::scoped_lock lock(mutex);
116 entries.push_back(entry);
117 return 0;
118 }
119
120 int unregister_pool(IdentityPoolBase* entry) {
121 photon::scoped_lock lock(mutex);

Callers 1

enable_autoscaleMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected