diff OrthancServer/ServerContext.h @ 1453:c0bdc47165ef

code to warn about possible threading problems
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 02 Jul 2015 12:26:44 +0200
parents b737acb13da5
children 68827c07e683
line wrap: on
line diff
--- a/OrthancServer/ServerContext.h	Thu Jul 02 11:35:41 2015 +0200
+++ b/OrthancServer/ServerContext.h	Thu Jul 02 12:26:44 2015 +0200
@@ -120,6 +120,7 @@
     LuaScripting lua_;
     OrthancPlugins* plugins_;
     ServerListeners listeners_;
+    boost::mutex listenersMutex_;
 
     bool done_;
     SharedMessageQueue  pendingChanges_;