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
Next Next commit
[TDF] Re-introduce lock release to avoid deadlock interpreting Snapshot
  • Loading branch information
eguiraud committed Jun 2, 2017
commit 7d95fe09c1b2f742da9623770e1c967571a4c565
2 changes: 1 addition & 1 deletion tree/treeplayer/inc/ROOT/TDFInterface.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public:
std::stringstream snapCall;
// build a string equivalent to
// "reinterpret_cast</nodetype/*>(this)->Snapshot<Ts...>(treename,filename,*reinterpret_cast<ColumnNames_t*>(&bnames))"
snapCall << "((" << GetNodeTypeName() << "*)" << this << ")->Snapshot<";
snapCall << "if (gROOTMutex) gROOTMutex->UnLock(); ((" << GetNodeTypeName() << "*)" << this << ")->Snapshot<";
bool first = true;
for (auto &b : bnames) {
if (!first) snapCall << ", ";
Expand Down