Mercurial > hg > orthanc
diff OrthancServer/ServerContext.h @ 3947:cf6eb4fc6841 transcoding
fix issue #179: use a shared mutex to avoid deadlock in python plugins
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Tue, 19 May 2020 16:19:05 +0200 |
parents | 0b3256c3ee14 |
children | 5fe8c6d3212e |
line wrap: on
line diff
--- a/OrthancServer/ServerContext.h Tue May 19 13:44:56 2020 +0200 +++ b/OrthancServer/ServerContext.h Tue May 19 16:19:05 2020 +0200 @@ -203,7 +203,7 @@ #endif ServerListeners listeners_; - boost::recursive_mutex listenersMutex_; + boost::shared_mutex listenersMutex_; bool done_; bool haveJobsChanged_;