Print

Print


Sure, I'd be happy to do this.  How about something like:

CPP11_ATOMIC_LOAD(var, std::memory_order_consume)
-> var, OR
-> var.load(std::memory_order_consume)

This gives a bit of wiggle room for different memory orderings.  Further, we'd need:

CPP11_ATOMIC_TYPE(bool)
-> bool, OR
-> std::atomic<bool>

This way, we can define:

CPP11_ATOMIC_TYPE(bool) wakePend;

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

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