liutang123 commented on code in PR #18635:
URL: https://github.com/apache/doris/pull/18635#discussion_r1165618721
##########
be/src/pipeline/pipeline_task.h:
##########
@@ -206,6 +218,15 @@ class PipelineTask {
PipelineFragmentContext* _fragment_context;
TaskQueue* _task_queue = nullptr;
+ // used for priority queue
+ std::atomic_uint64_t _runtime = 0; // may visit in different thread
Review Comment:
And we can uniformly use std::atomic<uint64_t>
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]