From 0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e Mon Sep 17 00:00:00 2001 From: untodesu Date: Fri, 26 Dec 2025 23:17:56 +0500 Subject: Add include guards and header comments to sources --- src/core/threading.hh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/core/threading.hh') 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 -- cgit