I have made printout and saw the value of tval.tv_sec is 1000000000 when pthread_cond_timedwait returns EINVAL. Condition in https://github.com/xrootd/xrootd/blob/master/src/XrdSys/XrdSysPthread.cc#L143 should be if (tval.tv_nsec >= 1000000) --- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/111#issuecomment-42372939 ######################################################################## 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