chenBright commented on PR #3096: URL: https://github.com/apache/brpc/pull/3096#issuecomment-3333195392
> > > The TaskStatus is only used when TaskTracer is enabled, but I want this pr to be applicable even when TaskTracer is not enabled. > > > > > > Perhaps the default support for TaskStatus can meet your needs. > > Currently the TaskStatus is only set when TaskTracer is enabled. Do u mean I need to change the code to set some status when TaskTracer is not enabled? Like set status to TASK_STATUS_CREATED when create a bthread and set it status to TASK_STATUS_UNKNOWN when that bthread is destroyed, and a bthread can be judged alive when its status is not TASK_STATUS_UNKNOWN? Yes. -- 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]
