Print

Print


@ljanyst - OnError does lock the mutex, but then it unlocks it before calling the handlers.

When called from OnReadTimeout, the mutex is already locked by the callee so on that call path, the handlers are called with the Stream mutex held (resulting in deadlock for us).  All other call paths I could find drop that particular mutex before invoking handlers.

I'd be super-happy to have a more thorough patch, but I'd be sufficiently happy to have the Xrootd client not deadlock the Tier-0.

---
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/247#issuecomment-119224924

########################################################################
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