It is possible XrdSysCondVar::WaitMS() burns all CPU if abstime is invalid. The pthread_cond_timedwait exit with EINVAL in this case.
To reproduce the bug change line https://github.com/xrootd/xrootd/blob/master/src/XrdSys/XrdSysPthread.cc#L141 to:
tval.tv_sec = tnow.tv_sec + sec -1;
git pull https://github.com/alja/xrootd waitMS_bugfix
Or view, comment on, or merge it at:
https://github.com/xrootd/xrootd/pull/111
—
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