mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 17:17:19 +03:00
Fix tsd bootstrapping for a0malloc().
This commit is contained in:
parent
919e4a0ea9
commit
0c12dcabc5
7 changed files with 101 additions and 43 deletions
|
|
@ -99,6 +99,11 @@ int
|
|||
main(void)
|
||||
{
|
||||
|
||||
/* Core tsd bootstrapping must happen prior to data_tsd_boot(). */
|
||||
if (nallocx(1, 0) == 0) {
|
||||
malloc_printf("Initialization error");
|
||||
return (test_status_fail);
|
||||
}
|
||||
data_tsd_boot();
|
||||
|
||||
return (test(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue