tsan: lock internal allocator around fork
There is a small chance that the internal allocator is locked during fork and then the new process is created with locked internal allocator and any attempts to use it will deadlock. For example, if detected a suppressed race in the parent during fork and then another suppressed race after the fork. This becomes much more likely with the new tsan runtime as it uses the internal allocator for more things. Reviewed By: melver Differential Revision: https://reviews.llvm.org/D114531
parent
1cfa9b4d
Please register or sign in to comment