[PATCH] D72470: [scudo][standalone] Fork support
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 9 17:09:06 PST 2020
eugenis added inline comments.
================
Comment at: compiler-rt/lib/scudo/standalone/wrappers_c.inc:161
+ while (SCUDO_PREFIX(Disabled))
+ pthread_cond_wait(&SCUDO_PREFIX(Conditional), &SCUDO_PREFIX(Mutex));
SCUDO_ALLOCATOR.disable();
----------------
why is this signalling necessary?
disable() while disabled should block on any of the allocator mutexes just fine.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72470/new/
https://reviews.llvm.org/D72470
More information about the llvm-commits
mailing list