Skip to content

Fix potential race condition in TimelineSvc

Christoph Hasse requested to merge chasse/Gaudi:fix_for_TimelineSvc into master

As far as I can tell, with the old code this is possible:

  1. Thread 1 call emplace_back() and enter if(m_partial)
  2. Thread 2 call emplace_back()
  3. Thread 1 call m_events.back() which now yields the event created by thread 2.

Merge request reports