ZhengweiZhu commented on PR #3096: URL: https://github.com/apache/brpc/pull/3096#issuecomment-3409232639
The comments have all been resolved. But there's one problem left, that's when the bthread status is set to TASK_STATUS_READY, the actual status is set to TASK_STATUS_FIRST_READY. https://github.com/apache/brpc/blob/07083331e1496746f4b1cfa54d0b6364f321be34/src/bthread/task_tracer.cpp#L150-L154 so the following judgement will never meet? https://github.com/apache/brpc/blob/07083331e1496746f4b1cfa54d0b6364f321be34/src/bthread/task_tracer.cpp#L257-L259 According to my test, there seems to always exist a bthread in TASK_STATUS_FIRST_READY status and not traceable. <img width="487" height="309" alt="image" src="https://github.com/user-attachments/assets/48b85a49-9812-448a-8da4-801938194546" /> @chenBright -- 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]
