zhoukangsheng commented on PR #3084:
URL: https://github.com/apache/brpc/pull/3084#issuecomment-3291878504

   > Does this implementation and modification ensure that compilation on 
architectures other than aarch64 will not be affected?
   
   only gcc compilers under aarch64 and clang under any architectures will 
optimize the reading and writing of thread_local variables, so these two will 
be affected by this modification.
   
   It is implemented by different macro expansion of 
BAIDU_GET_VOLATILE_THREAD_LOCAL under different compilation conditions.For more 
detailed discussion, you can refer to https://github.com/apache/brpc/pull/2156
   <img width="1879" height="936" alt="image" 
src="https://github.com/user-attachments/assets/8149ae48-4cff-48f1-a1ca-d161db6902eb";
 />
   
   


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