server-skynet-source-3rd-je.../include
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
..
jemalloc Fix recursive malloc during bootstrap on QNX 2020-12-18 10:05:59 -08:00
msvc_compat Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00