diff options
Diffstat (limited to 'server/server/config.h')
-rwxr-xr-x | server/server/config.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/server/server/config.h b/server/server/config.h index 4afa63d..9b15208 100755 --- a/server/server/config.h +++ b/server/server/config.h @@ -144,6 +144,10 @@ public: { return lists_mutex; } + boost::mutex &get_cfg_mutex() + { + return cfg_mutex; + } private: struct cfg_data { @@ -164,7 +168,7 @@ private: std::list<upload_entry> upload_list; std::list<conn_server> servers_list; boost::thread *cfg_reload_thr, *speed_test_thr; - boost::mutex lists_mutex; + boost::mutex lists_mutex, cfg_mutex; }; #endif
\ No newline at end of file |