etl pipeline

This commit is contained in:
CJ Cobb
2021-03-24 04:29:54 -04:00
parent c69fb9672e
commit a7a71ec0c7
3 changed files with 11 additions and 14 deletions

View File

@@ -1515,13 +1515,6 @@ public:
throw std::runtime_error("decrementing num outstanding below 0");
}
size_t cur = (--numRequestsOutstanding_);
// sanity check
if (!canAddRequest())
{
assert(false);
throw std::runtime_error(
"decremented num outstanding but can't add more");
}
{
// mutex lock required to prevent race condition around spurious
// wakeup