[Lldb-commits] [compiler-rt] [mlir] [llvm] [lldb] [sanitizer] Pre-commit disabled test for fork (PR #75257)
Florian Mayer via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 12 17:10:48 PST 2023
================
@@ -18,10 +18,10 @@
static const size_t kBufferSize = 1 << 20;
-static void *background(void *arg) { return nullptr; }
-
pthread_barrier_t bar;
+// Without appropriate workarounds this code can cause the forked process to
+// start with locked internal mutexes.
----------------
fmayer wrote:
optional nit: call it `ShouldNotDeadlock`?
https://github.com/llvm/llvm-project/pull/75257
More information about the lldb-commits
mailing list