arpadboda commented on a change in pull request #735: MINIFICPP-1158 - Event
driven processors can starve each other
URL: https://github.com/apache/nifi-minifi-cpp/pull/735#discussion_r385180490
##########
File path: libminifi/include/SchedulingAgent.h
##########
@@ -202,7 +138,7 @@ class SchedulingAgent {
std::shared_ptr<core::ContentRepository> content_repo_;
// thread pool for components.
- utils::ThreadPool<uint64_t> thread_pool_;
+ std::shared_ptr<utils::ThreadPool<utils::ComplexTaskResult>> thread_pool_;
Review comment:
gsl is a good idea, happy to see that as a follow-up, although I think this
PR is already big enough. Modified code to have clear ownership and lifetime.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services