blob: 6c5f8df74499ba7e36a3a26ff5be47cddfe9b59f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- src/3rdparty/chromium/base/process/internal_linux.h.orig 2025-08-15 18:30:00 UTC
+++ src/3rdparty/chromium/base/process/internal_linux.h
@@ -144,6 +144,9 @@ void ForEachProcessTask(base::ProcessHandle process, L
// arguments to the lambda.
template <typename Lambda>
void ForEachProcessTask(base::ProcessHandle process, Lambda&& lambda) {
+#if BUILDFLAG(IS_BSD)
+ return;
+#else
// Iterate through the different threads tracked in /proc/<pid>/task.
FilePath fd_path = GetProcPidDir(process).Append("task");
@@ -166,6 +169,7 @@ void ForEachProcessTask(base::ProcessHandle process, L
FilePath task_path = fd_path.Append(tid_str);
lambda(tid, task_path);
}
+#endif
}
} // namespace internal
|