martinzink commented on code in PR #1299:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1299#discussion_r858654187


##########
libminifi/include/utils/WorkerThread.h:
##########
@@ -49,8 +49,9 @@ class WorkerThread final {
 
 /**
  * A worker that executes arbitrary functions with no parameters 
asynchronously on an internal thread, returning a future to the result.
+ * This is different from the Worker in ThreadPool.h in that it's only capable 
of running tasks, and any scheduling is left for the user.
  */
-class Worker final {
+class Worker2 final {

Review Comment:
   I was just about to comment the same thing.
   Based on the comment above it, we could name it ManuallyScheduledWorker or 
something like that?



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to