| 406 | } |
| 407 | |
| 408 | const common::hcf_container* hcf_cache::get_hcf(hcf_object_id obj) const { |
| 409 | std::lock_guard<std::mutex> lock{_mutex}; |
| 410 | |
| 411 | auto it = _hcf_objects.find(obj); |
| 412 | if(it == _hcf_objects.end()) |
| 413 | return nullptr; |
| 414 | return it->second.get(); |
| 415 | } |
| 416 | |
| 417 | const hcf_kernel_info * |
| 418 | hcf_cache::get_kernel_info(hcf_object_id obj, |
no test coverage detected