Get metadata about an operation.
- Parameters
-
- Returns
- Optional containing the operation info if found
Definition at line 355 of file OperationPool.hpp.
356 {
357 std::shared_lock lock(
m_mutex);
358
359 auto it =
m_info.find(name);
361 return it->second;
362 }
363
364 return std::nullopt;
365 }
std::shared_mutex m_mutex
std::unordered_map< std::string, PooledOperationInfo > m_info
References m_info, and m_mutex.