The implementation of XrdSysCondVar::Wait(int sec) is 'wrong' since it will wait an arbitrary time between 0 and 1 seconds depending at which time during a unix timestamp period it is called. The implementation should be: ``` int XrdSysCondVar::Wait(int sec) { return WaitMS(sec*1000); } ``` This also avoids most of the 1:1 duplicated code between Wait and WaitMS. --- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/issues/54 ######################################################################## 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