summaryrefslogtreecommitdiffstats
path: root/src/core/threading.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/threading.hh')
-rw-r--r--src/core/threading.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/threading.hh b/src/core/threading.hh
index 14f17f8..ea4e11b 100644
--- a/src/core/threading.hh
+++ b/src/core/threading.hh
@@ -1,3 +1,10 @@
+// SPDX-License-Identifier: BSD-2-Clause
+// Copyright (c) 2025 Kirill Dmitrievich
+// File: threading.hh
+// Description: Thread pool wrapper
+
+#ifndef CORE_THREADING_HH
+#define CORE_THREADING_HH
#pragma once
enum class task_status : unsigned int {
@@ -44,3 +51,5 @@ inline void threading::submit(AT&&... args)
{
threading::detail::submit_new(new T(args...));
}
+
+#endif