| 15 | } |
| 16 | |
| 17 | void BlobManagerImpl::register_blob(OwnedBlob* blob) { |
| 18 | // add blob into the comp2blobs map |
| 19 | MGB_LOCK_GUARD(m_mtx); |
| 20 | mgb_assert(m_comp2blobs_map[blob->m_comp_node].insert(blob)); |
| 21 | } |
| 22 | |
| 23 | void BlobManagerImpl::unregister_blob(OwnedBlob* blob) { |
| 24 | // erase blob into the comp2blobs map |