phrocker commented on a change in pull request #735: WIP: MINIFICPP-1158 - Event driven processors can starve each other URL: https://github.com/apache/nifi-minifi-cpp/pull/735#discussion_r382102534
########## File path: libminifi/src/core/Processor.cpp ########## @@ -268,6 +268,7 @@ void Processor::onTrigger(const std::shared_ptr<ProcessContext> &context, const bool Processor::isWorkAvailable() { // We have work if any incoming connection has work + std::lock_guard<std::mutex> lock(mutex_); Review comment: One of my hopes was that we could make some asks to Folly to use their thread pool(s)...I believe they've already filled those gaps and I think they have some useful containers. It would be a massive undertaking but Folly has some nice utilities that are well tested. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services