Print

Print


Yes, I did look at the patch. I certainly believe that  memory_order_relaxed generates the same code and I suppose I sort of believe that consume/release would generate the same code on practically all architectures if you have faith in the C++11 reference that tells you that is the case. Then again, there has been at least one instance where a compiler didn't generate the same code to the dismay of a lot of people. Also, consume/release do impact optimization around the operation so the final results will likely vary over time. Let me think about this.

---
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/167#issuecomment-63417751

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1