Print

Print


Well, this is illegal behavior in C++11 (as it is undefined); we'd like to really avoid illegal behavior...

The write should already cause a cache flush on x86, right?  If you really want minimal overhead, you can always use std::memory_order_relaxed (this has no guarantees about ordering or cache line contents other than writes are atomic) for loads/stores.

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

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