blob: 80f012e6e4116cf90a05bd5fdcbb1ebedfc38231 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- content/browser/child_thread_type_switcher_linux.cc.orig 2024-05-21 18:07:39 UTC
+++ content/browser/child_thread_type_switcher_linux.cc
@@ -20,6 +20,9 @@ void SetThreadTypeOnLauncherThread(base::ProcessId pee
base::ThreadType thread_type) {
DCHECK(CurrentlyOnProcessLauncherTaskRunner());
+#if BUILDFLAG(IS_BSD)
+ NOTIMPLEMENTED();
+#else
bool ns_pid_supported = false;
pid_t peer_tid = base::FindThreadID(peer_pid, ns_tid, &ns_pid_supported);
if (peer_tid == -1) {
@@ -38,6 +41,7 @@ void SetThreadTypeOnLauncherThread(base::ProcessId pee
base::PlatformThread::SetThreadType(peer_pid, peer_tid, thread_type,
base::IsViaIPC(true));
+#endif
}
} // namespace
|