@apeters1971 : thanks for reporting the problem! From what I see we are running here in to following deadlock scenario: - `IOEvents::Poller::Stop()` locks `adMutex`, subsequently it does `SendCmd`, which in turn waits on a semaphore that has been sent along a pipe in `SendCmd` - IOEvents::Poller::Detach() is waiting on `adMutex` and as a result `IOEvents::PollE::Process()` cannot proceed and post the semaphore @abh : can we unlock the `adMutex` while waiting on the semaphore or replace the whole construct with a conditional variable? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/issues/1095#issuecomment-561156035 ######################################################################## 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