Skip to content

Commit

Permalink
[XrdSys] Avoid deadlock on poller stop, fixes #1095
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Dec 5, 2019
1 parent a84c675 commit f9d4223
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/XrdSys/XrdSysIOEvents.cc
Expand Up @@ -1018,7 +1018,9 @@ void XrdSys::IOEvents::Poller::Stop()

// First we must stop the poller thread in an orderly fashion.
//
adMutex.UnLock();
SendCmd(cmdbuff);
adMutex.Lock();

// Close the pipe communication mechanism
//
Expand Down

0 comments on commit f9d4223

Please sign in to comment.