mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-04-03 22:03:40 +03:00
Make a fortune quietly
Musl 1.2.3 and before call malloc() in pthread_atfork(), which may result in a deadlock: PartitionRoot::EnableThreadCacheIfSupported() ::partition_alloc::internal::ScopedGuard guard{lock_}; ThreadCache::Create(this); ThreadCache::ThreadCache() PlatformThread::CurrentId() InitAtFork::InitAtFork() pthread_atfork() malloc() ShimMalloc() PartitionAllocFunctionsInternal::Malloc() PartitionRoot::AllocInternal() PartitionRoot::AllocInternalNoHooks() PartitionRoot::RawAlloc() ::partition_alloc::internal::ScopedGuard guard{internal::PartitionRootLock(this)}; |
||
---|---|---|
src | ||
.gitignore |