zhengJade commented on code in PR #2819: URL: https://github.com/apache/brpc/pull/2819#discussion_r2041505792
########## src/bthread/task_group.h: ########## @@ -200,6 +200,8 @@ class TaskGroup { return total_ns; } + const bthread_attr_t& get_current_attr() { return _cur_meta->attr; } Review Comment: 这个 func 是静态成员函数,好像是没办法直接使用非静态成员变量的 -- 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