aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/process.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-01-22 15:26:55 +0100
committerGitHub Enterprise <[email protected]>2025-01-22 15:26:55 +0100
commitb6bac83e8456905c37c8abb4f57fd45d61c37c72 (patch)
treea2683960f99e60ac440d4a31c3dfc3e107a21f39 /src/zencore/process.cpp
parentjupiter code cleanup (#276) (diff)
downloadzen-b6bac83e8456905c37c8abb4f57fd45d61c37c72.tar.xz
zen-b6bac83e8456905c37c8abb4f57fd45d61c37c72.zip
Add multithreading directory scanning in core/filesystem (#277)
add DirectoryContent::IncludeFileSizes add DirectoryContent::IncludeAttributes add multithreaded GetDirectoryContent use multithreaded GetDirectoryContent in workspace folder scanning
Diffstat (limited to 'src/zencore/process.cpp')
-rw-r--r--src/zencore/process.cpp2
1 files changed, 1 insertions, 1 deletions
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<uint32_t> 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();