diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2017-05-15 16:41:00 +0300 |
---|---|---|
committer | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2017-05-16 10:57:07 +0300 |
commit | b204e830cffc41ecdd5035c0ecd060066e124bc1 (patch) | |
tree | 3409d90f6df7d5e6ad9b3169411e453a48bb0f92 /drape_frontend/read_manager.hpp | |
parent | 42efb105af25eccdc3e8739e931cd540872b1fd3 (diff) |
Limited reading threads count
Diffstat (limited to 'drape_frontend/read_manager.hpp')
-rwxr-xr-x | drape_frontend/read_manager.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drape_frontend/read_manager.hpp b/drape_frontend/read_manager.hpp index e8ced849fe..ed6b6e138b 100755 --- a/drape_frontend/read_manager.hpp +++ b/drape_frontend/read_manager.hpp @@ -26,6 +26,8 @@ namespace df class MapDataProvider; class CoverageUpdateDescriptor; +uint8_t constexpr kReadingThreadsCount = 2; + class ReadManager { public: @@ -47,8 +49,6 @@ public: void RemoveCustomSymbols(MwmSet::MwmId const & mwmId, std::vector<FeatureID> & leftoverIds); void RemoveAllCustomSymbols(); - static uint32_t ReadCount(); - private: void OnTaskFinished(threads::IRoutine * task); bool MustDropAllTiles(ScreenBase const & screen) const; |