In src/XrdSys/XrdSysIOEvents.cc:

> @@ -1158,10 +1167,16 @@ void XrdSys::IOEvents::Poller::WakeUp()
>  // Send it off to wakeup the poller thread, but only if here is no wakeup in
>  // progress.
>  //
> +#ifdef USE_CPP11_ATOMICS
> +   bool isWakePend = wakePend.load(std::memory_order_consume);
> +   if (!isWakePend)
> +      {wakePend.store(true, std::memory_order_release);
> +#else
>     toMutex.Lock();

It's not clear what this lock is supposed to do in the first place!


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