morningman commented on a change in pull request #6237:
URL: https://github.com/apache/incubator-doris/pull/6237#discussion_r672018119



##########
File path: be/src/util/threadpool.h
##########
@@ -362,6 +362,13 @@ class ThreadPoolToken {
     // Returns true if all submissions are complete, false otherwise.
     bool wait_for(const MonoDelta& delta);
 
+    bool need_dispatch();

Review comment:
       The purpose of this `need_dispatch` is to express whether the token 
needs to be put into the queue, so it does not actually mean idle.




-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to