WenJie872 commented on code in PR #3122:
URL: https://github.com/apache/brpc/pull/3122#discussion_r2462565017


##########
src/bthread/task_control.cpp:
##########
@@ -74,8 +77,10 @@ void run_tagged_worker_startfn(bthread_tag_t tag) {
 
 struct WorkerThreadArgs {
     WorkerThreadArgs(TaskControl* _c, bthread_tag_t _t) : c(_c), tag(_t) {}
+
     TaskControl* c;
     bthread_tag_t tag;
+    unsigned cpuId;

Review Comment:
   > 绑核的操作可以集中在worker_thread内部,不需要放到很多地方。
   
   @yanglimingcn  done



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

Reply via email to