Threads: Remove unnecessary includes

We have quite a few unnecessary includes here left over from code movement,
so we can clean those out.

Also fix an indirect include in the header.
This commit is contained in:
Lioncache committed 2025-09-03 11:00:57 -04:00
1 parent 06c5135d4e
commit dd735464a2
2 files changed
+2 -6

No files matched your search

-6
View File
@@ -1,18 +1,12 @@
// SPDX-License-Identifier: MIT
#include <FEXCore/Utils/Allocator.h>
#include <FEXCore/Utils/LogManager.h>
#include <FEXCore/Utils/Threads.h>
#include <FEXCore/fextl/memory.h>
#include <FEXCore/fextl/deque.h>
#include <cstring>
#include <functional>
#include <mutex>
#include <pthread.h>
#include <stdint.h>
#include <unistd.h>
#ifndef _WIN32
#include <sys/mman.h>
#include <sys/signal.h>
#include <sys/syscall.h>
#endif
+2
View File
@@ -1,6 +1,8 @@
// SPDX-License-Identifier: MIT
#pragma once
#include <FEXCore/fextl/memory.h>
#include <cstdint>
namespace FEXCore::Threads {
using ThreadFunc = void* (*)(void* user_ptr);