jiangdongzi commented on issue #2208:
URL: https://github.com/apache/brpc/issues/2208#issuecomment-1506662433

   > `jump_stack` 会切换到其他 bthread 执行任务,上下文切换了,当执行到下面的逻辑,`saved_errno` 和 
`saved_unique_user_ptr`已经发生了更改,需要重新赋值。
   
   我知道需要重新赋值, 我的意思是bthread首次运行, 那么在该bthread的栈里边还没有`saved_errno` 和 
`saved_unique_user_ptr` 这两个局部变量啊, 那么这两个值对该 新bthread来说不是完全随机的么


-- 
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]

Reply via email to