| 30 | ~ResourcePoll() {} |
| 31 | |
| 32 | static ResourcePoll *GetInstance() { |
| 33 | static ResourcePoll pool; |
| 34 | return &pool; |
| 35 | } |
| 36 | |
| 37 | std::unique_ptr<ResourceType> Get(const KeyType &key) { |
| 38 | std::lock_guard<std::mutex> lg(lock_); |
nothing calls this directly
no outgoing calls
no test coverage detected