mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
Changelog: https://chromium.googlesource.com/chromium/src/+log/74.0.3729.169..75.0.3770.80?pretty=fuller&n=10000 Submitted by: Matthias Wolf <matthias@rheinwolf.de>
20 lines
719 B
C++
20 lines
719 B
C++
--- base/process/kill_posix.cc.orig 2019-06-04 18:55:15 UTC
|
|
+++ base/process/kill_posix.cc
|
|
@@ -168,7 +168,7 @@ void EnsureProcessTerminated(Process process) {
|
|
0, new BackgroundReaper(std::move(process), TimeDelta::FromSeconds(2)));
|
|
}
|
|
|
|
-#if defined(OS_LINUX)
|
|
+#if defined(OS_LINUX) || defined(OS_BSD)
|
|
void EnsureProcessGetsReaped(Process process) {
|
|
DCHECK(!process.is_current());
|
|
|
|
@@ -179,7 +179,7 @@ void EnsureProcessGetsReaped(Process process) {
|
|
PlatformThread::CreateNonJoinable(
|
|
0, new BackgroundReaper(std::move(process), TimeDelta()));
|
|
}
|
|
-#endif // defined(OS_LINUX)
|
|
+#endif // defined(OS_LINUX) || defined(OS_BSD)
|
|
|
|
#endif // !defined(OS_MACOSX)
|
|
#endif // !defined(OS_NACL_NONSFI)
|