forked from organicmaps/organicmaps-tmp
[routing] Adding a comment to FeaturesLoaderGuard.
This commit is contained in:
parent
5393db32c2
commit
3fa1e93ca7
1 changed files with 5 additions and 0 deletions
|
@ -89,6 +89,11 @@ public:
|
|||
|
||||
/// Guard for loading features from particular MWM by demand.
|
||||
/// @note This guard is suitable when mwm is loaded.
|
||||
/// @note If you need to work with |FeatureType| from different threads you need to use
|
||||
/// a unique |FeaturesLoaderGuard| instance for every threads. Construction of
|
||||
/// |FeaturesLoaderGuard| should be serialized. Then instances of |FeaturesLoaderGuard|
|
||||
/// may be used concurrently. The example of concurrent use of |FeaturesLoaderGuard|
|
||||
/// please see |ConcurrentFeatureParsingTest|.
|
||||
class FeaturesLoaderGuard
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Reference in a new issue