szaszm 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_r383872858
##########
File path: libminifi/include/utils/ThreadPool.h
##########
@@ -133,11 +107,11 @@ class Worker {
identifier_ = identifier;
}
- virtual uint64_t getTimeSlice() {
+ virtual std::chrono::time_point<std::chrono::steady_clock> getTimeSlice()
const {
Review comment:
Could you add a comment describing the new meaning of
`time_slice_`/`getTimeSlice()`?
----------------------------------------------------------------
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