In src/XrdSys/XrdSysIOEvents.cc:
> @@ -1158,12 +1159,11 @@ void XrdSys::IOEvents::Poller::WakeUp() > // Send it off to wakeup the poller thread, but only if here is no wakeup in > // progress. > // > - toMutex.Lock(); > - if (wakePend) toMutex.UnLock(); > - else {wakePend = true; > - toMutex.UnLock(); > - SendCmd(cmdbuff); > - } > + bool isWakePend = CPP_ATOMIC_LOAD(wakePend, std::memory_order_consume);
Ok, I'll add it back with a distilled version of your above comment.
—
Reply to this email directly or view it on GitHub.
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