Skip to content

CxxUtils: Add possibility of external locking to the concurrent hashmaps.

Scott Snyder requested to merge ssnyder/athena:extlock.CxxUtils-20230714 into main

Add the possibility of external locking to the insert / erase methods of the concurrent hashmaps. This allows speeding up loops by avoiding having to acquire the lock each time. For example:

  auto lock = set.lock();
  for (const Key* key : keys) {
    set.emplace (lock, key);
  }

Merge request reports