17 ROOT::Internal::RDF::RSlotStack::RSlotStack(
unsigned int size) : fSize(size)
19 for (
auto i : ROOT::TSeqU(size))
23 void ROOT::Internal::RDF::RSlotStack::ReturnSlot(
unsigned int slot)
25 std::lock_guard<ROOT::TSpinMutex> guard(fMutex);
26 R__ASSERT(fStack.size() < fSize &&
"Trying to put back a slot to a full stack!");
30 unsigned int ROOT::Internal::RDF::RSlotStack::GetSlot()
32 std::lock_guard<ROOT::TSpinMutex> guard(fMutex);
33 R__ASSERT(!fStack.empty() &&
"Trying to pop a slot from an empty stack!");
34 const auto slot = fStack.top();