chenBright opened a new pull request, #3115: URL: https://github.com/apache/brpc/pull/3115
### What problem does this PR solve? Issue Number: Problem Summary: https://github.com/apache/brpc/issues/2983#issuecomment-3388228204 https://github.com/apache/brpc/issues/2983#issuecomment-3394061697 ### What is changed and the side effects? Changed: 1. Not to support the tracing of bthread in TASK_STATUS_JUMPING status and just return an error msg like below, instead of waiting for jumping. 2. Taskmeta has its lock for waiting for tracing, to avoid starvation of bthread jumping caused by new tracing. 3. WaitForTracing acquire the lock, indicating that tracing is complete, so no condition variable is needed. Side effects: - Performance effects: - Breaking backward compatibility: --- ### Check List: - Please make sure your changes are compilable. - When providing us with a new feature, it is best to add related tests. - Please follow [Contributor Covenant Code of Conduct](https://github.com/apache/brpc/blob/master/CODE_OF_CONDUCT.md). -- 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]
