server-skynet-source-3rd-je.../include/jemalloc
Jin Qian 96a59c3bb5 Fix recursive malloc during bootstrap on QNX
pthread_key_create on QNX triggers recursive allocation during tsd
bootstrapping. Using tsd_init_check_recursion to detect that.

Before pthread_key_create, the address of tsd_boot_wrapper is returned
from tsd_get_wrapper instead of using TLS to store the pointer.
tsd_set_wrapper becomes a no-op. After that, the address of
tsd_boot_wrapper is written to TLS and bootstrap continues as before.

Signed-off-by: Jin Qian <jqian@aurora.tech>
2020-12-18 10:05:59 -08:00
..
internal Fix recursive malloc during bootstrap on QNX 2020-12-18 10:05:59 -08:00
jemalloc_defs.h.in Add -Wimplicit-fallthrough checks if supported 2019-11-08 13:03:03 -08:00
jemalloc_macros.h.in Mac: don't declare system functions as nothrow. 2020-03-26 14:11:24 -07:00
jemalloc_mangle.sh jemalloc_mangle.sh: set sh in strict mode 2017-12-11 23:35:20 -08:00
jemalloc_protos.h.in Mac: don't declare system functions as nothrow. 2020-03-26 14:11:24 -07:00
jemalloc_rename.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
jemalloc_typedefs.h.in Hide smallocx even when enabled from the library API 2018-10-17 07:12:28 -07:00
jemalloc.sh Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00