aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_process_process__posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-base_process_process__posix.cc')
-rw-r--r--www/chromium/files/patch-base_process_process__posix.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/www/chromium/files/patch-base_process_process__posix.cc b/www/chromium/files/patch-base_process_process__posix.cc
index bd6418d952c0..e9be8080309e 100644
--- a/www/chromium/files/patch-base_process_process__posix.cc
+++ b/www/chromium/files/patch-base_process_process__posix.cc
@@ -1,4 +1,4 @@
---- base/process/process_posix.cc.orig 2023-09-13 12:11:42 UTC
+--- base/process/process_posix.cc.orig 2024-05-21 18:07:39 UTC
+++ base/process/process_posix.cc
@@ -23,10 +23,15 @@
#include "base/trace_event/base_tracing.h"
@@ -17,16 +17,16 @@
#if BUILDFLAG(CLANG_PROFILING)
#include "base/test/clang_profiling.h"
#endif
-@@ -93,7 +98,7 @@ bool WaitpidWithTimeout(base::ProcessHandle handle,
- return ret_pid > 0;
+@@ -99,7 +104,7 @@ bool WaitpidWithTimeout(base::ProcessHandle handle,
}
+ #endif
-#if BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
// Using kqueue on Mac so that we can wait on non-child processes.
// We can't use kqueues on child processes because we need to reap
// our own children using wait.
-@@ -198,7 +203,7 @@ bool WaitForExitWithTimeoutImpl(base::ProcessHandle ha
+@@ -376,7 +381,7 @@ bool Process::WaitForExitWithTimeoutImpl(base::Process
const bool exited = (parent_pid < 0);
if (!exited && parent_pid != our_pid) {
@@ -35,7 +35,7 @@
// On Mac we can wait on non child processes.
return WaitForSingleNonChildProcess(handle, timeout);
#else
-@@ -387,7 +392,56 @@ void Process::Exited(int exit_code) const {
+@@ -413,7 +418,56 @@ void Process::Exited(int exit_code) const {
int Process::GetOSPriority() const {
DCHECK(IsValid());