mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
20 lines
678 B
C++
20 lines
678 B
C++
--- base/process/internal_linux.h.orig 2024-06-18 21:43:17 UTC
|
|
+++ base/process/internal_linux.h
|
|
@@ -140,6 +140,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");
|
|
|
|
@@ -159,6 +162,7 @@ void ForEachProcessTask(base::ProcessHandle process, L
|
|
FilePath task_path = fd_path.Append(tid_str);
|
|
lambda(tid, task_path);
|
|
}
|
|
+#endif
|
|
}
|
|
|
|
} // namespace internal
|