| 131 | } |
| 132 | |
| 133 | SharedContext ContextManager::getContext(ContextId contextId) const { |
| 134 | std::lock_guard<std::mutex> lock(_mutex); |
| 135 | |
| 136 | return lockFreeGetContext(contextId); |
| 137 | } |
| 138 | |
| 139 | std::vector<SharedContext> ContextManager::getAllContexts() const { |
| 140 | std::lock_guard<std::mutex> lock(_mutex); |
no outgoing calls