chenBright commented on code in PR #3096:
URL: https://github.com/apache/brpc/pull/3096#discussion_r2424233015
##########
src/bthread/task_meta.h:
##########
@@ -107,7 +107,8 @@ struct TaskMeta {
// DO NOT use this field directly, use tls_bls instead.
LocalStorage local_storage{};
- // Only used when TaskTracer is enabled.
+ // Mainly used when TaskTracer is enabled. Otherwise used to just indicate
+ // if a bthread is alive.
Review Comment:
I think it's feasible. If the bthread is not alive, tid is old and
version_butexis new.
--
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]