zhengJade commented on code in PR #2819: URL: https://github.com/apache/brpc/pull/2819#discussion_r1995120152
########## src/bthread/task_group.h: ########## @@ -199,6 +200,10 @@ class TaskGroup { total_ns += butil::cputhread_time_ns() - _last_cpu_clock_ns; return total_ns; } + // Thread Unsafe + void add_epoll_tid(bthread_t tid) { _epoll_tids.emplace(tid); } Review Comment: 说的对,我改好了 -- 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: dev-unsubscr...@brpc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org