Mercurial > hg > orthanc-stone
diff Applications/Generic/NativeStoneApplicationContext.h @ 433:8999823db8b8 am-vsol-upgrade
fix SetSize in SDL
author | am@osimis.io |
---|---|
date | Mon, 03 Dec 2018 14:22:47 +0100 |
parents | c23df8b3433b |
children | a750f11892ec |
line wrap: on
line diff
--- a/Applications/Generic/NativeStoneApplicationContext.h Mon Dec 03 13:53:29 2018 +0100 +++ b/Applications/Generic/NativeStoneApplicationContext.h Mon Dec 03 14:22:47 2018 +0100 @@ -36,7 +36,7 @@ private: static void UpdateThread(NativeStoneApplicationContext* that); - boost::mutex globalMutex_; + boost::recursive_mutex globalMutex_; WidgetViewport centralViewport_; boost::thread updateThread_; bool stopped_; @@ -46,8 +46,8 @@ class GlobalMutexLocker: public boost::noncopyable { private: - NativeStoneApplicationContext& that_; - boost::mutex::scoped_lock lock_; + NativeStoneApplicationContext& that_; + boost::recursive_mutex::scoped_lock lock_; public: GlobalMutexLocker(NativeStoneApplicationContext& that) :