Skip to content

ByteStreamCnvSvc+EventSelectorAthenaPool: fix thread-checker warnings in dbg build

Frank Winklmeier requested to merge fwinkl/athena:evtsel into master

The dbg build still showed thread-checker warnings after the recent fixes in !59060 (merged) to putEvent, i.e. the following code works fine in -opt but not -dbg:

StatusCode sc ATLAS_THREAD_SAFE = m_eventStreamingTool->putEvent(...);
while (sc.isRecoverable()) {
   sc = m_eventStreamingTool->putEvent(...);
}

Probably related to the use of temporaries by the compiler in the dbg build.

Relates to ATEAM-868.

cc @gemmeren @ssnyder

Merge request reports