Here, the wakePend variable is written to without a lock:

https://github.com/xrootd/xrootd/blob/master/src/XrdSys/XrdSysIOEventsPollE.icc#L210

while here, it's read with a lock:

https://github.com/xrootd/xrootd/blob/master/src/XrdSys/XrdSysIOEvents.cc#L1162

This causes undefined behavior according to the C++11 standard and is illegal.


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