Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[TDF] Comment on jitted gROOTMutex unlocking
Hopefully someone with more experience will be able to amend my
comment with something more insightful.
  • Loading branch information
eguiraud committed Aug 17, 2017
commit 1c8143744d7f91794405bbfc1baae009d943f892
2 changes: 1 addition & 1 deletion tree/treeplayer/inc/ROOT/TDFInterface.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ public:
std::stringstream snapCall;
// build a string equivalent to
// "reinterpret_cast</nodetype/*>(this)->Snapshot<Ts...>(treename,filename,*reinterpret_cast<ColumnNames_t*>(&columnList))"
snapCall << "if (gROOTMutex) gROOTMutex->UnLock();";
snapCall << "if (gROOTMutex) gROOTMutex->UnLock();"; // black magic: avoids a deadlock in the interpreter
snapCall << "reinterpret_cast<ROOT::Experimental::TDF::TInterface<" << GetNodeTypeName() << ">*>(" << this
<< ")->Snapshot<";
bool first = true;
Expand Down