blob: b2e516b58b9e2b60b1d4470ba2da877637b4f8aa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <shared_mutex>
#include <mutex>
namespace search::attribute {
class InterlockGuard;
class EnumModifier
{
std::unique_lock<std::shared_mutex> _enumLock;
public:
EnumModifier(std::shared_mutex &lock, InterlockGuard &interlockGuard);
~EnumModifier();
};
}
|