diff options
| author | kamil <kamil@NetBSD.org> | 2020-02-01 15:38:46 +0000 |
|---|---|---|
| committer | kamil <kamil@NetBSD.org> | 2020-02-01 15:38:46 +0000 |
| commit | 292126dbcd0afa15a7810941d07e43238f3b00e7 (patch) | |
| tree | 7276404944c7add96f02aa575e9a53538846315f /lib/libpthread | |
| parent | 7b04113252bf5f4bde1c049a5e1a2d5859b3ca1a (diff) | |
Switch atform allocations from malloc()+free() to mmap()+munmap()
This avoid bootstrapping malloc too early when libc+libpthread are not
ready. It is called through pthread__init() -> _pthread_atfork().
This also helps LLVM Leak Sanitizer to pacify false positive reports.
Diffstat (limited to 'lib/libpthread')
0 files changed, 0 insertions, 0 deletions
