[PATCH] D72364: [scudo][standalone] Modify malloc_{enable,disable} wrt fork

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 8 12:32:33 PST 2020


cryptoad added a comment.

In D72364#1810649 <https://reviews.llvm.org/D72364#1810649>, @eugenis wrote:

> Right, but it looks like it will have the same effect.
>  Attempting to disable an already disabled allocator will block until the allocator is enabled.
>  I.e. pthread_atfork(disable, enable, enable) should be sufficient.


Ack, thanks!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72364/new/

https://reviews.llvm.org/D72364





More information about the llvm-commits mailing list