From b6bac83e8456905c37c8abb4f57fd45d61c37c72 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Wed, 22 Jan 2025 15:26:55 +0100 Subject: Add multithreading directory scanning in core/filesystem (#277) add DirectoryContent::IncludeFileSizes add DirectoryContent::IncludeAttributes add multithreaded GetDirectoryContent use multithreaded GetDirectoryContent in workspace folder scanning --- src/zencore/process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zencore/process.cpp') diff --git a/src/zencore/process.cpp b/src/zencore/process.cpp index b1da034d2..c51e8f69d 100644 --- a/src/zencore/process.cpp +++ b/src/zencore/process.cpp @@ -1012,7 +1012,7 @@ FindProcess(const std::filesystem::path& ExecutableImage, ProcessHandle& OutHand #if ZEN_PLATFORM_LINUX std::vector RunningPids; DirectoryContent ProcList; - GetDirectoryContent("/proc", DirectoryContent::IncludeDirsFlag, ProcList); + GetDirectoryContent("/proc", DirectoryContentFlags::IncludeDirs, ProcList); for (const std::filesystem::path& EntryPath : ProcList.Directories) { std::string EntryName = EntryPath.stem(); -- cgit v1.2.3