summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2022-01-31 14:45:09 +0000
committerGeir Storli <geirst@yahooinc.com>2022-01-31 14:45:09 +0000
commit82aa3ab6fca0d5c6f6ec4943cdc3155eb2cff463 (patch)
treeb0559981cd81f97cdbe8478076f02c00ab4b0d03 /vespalib
parent139420fda334dbcfe80f49d9badb5f26ca160d92 (diff)
Tag all document store tasks executed on the shared executor with cpu category.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/util/spin_lock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/util/spin_lock.h b/vespalib/src/vespa/vespalib/util/spin_lock.h
index abc2b89106f..3af7bc0fd55 100644
--- a/vespalib/src/vespa/vespalib/util/spin_lock.h
+++ b/vespalib/src/vespa/vespalib/util/spin_lock.h
@@ -1,5 +1,7 @@
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+#pragma once
+
#include <atomic>
#include <thread>