| 415 | } |
| 416 | |
| 417 | tsd_t * |
| 418 | malloc_tsd_boot0(void) { |
| 419 | tsd_t *tsd; |
| 420 | |
| 421 | ncleanups = 0; |
| 422 | if (malloc_mutex_init(&tsd_nominal_tsds_lock, "tsd_nominal_tsds_lock", |
| 423 | WITNESS_RANK_OMIT, malloc_mutex_rank_exclusive)) { |
| 424 | return NULL; |
| 425 | } |
| 426 | if (tsd_boot0()) { |
| 427 | return NULL; |
| 428 | } |
| 429 | tsd = tsd_fetch(); |
| 430 | *tsd_arenas_tdata_bypassp_get(tsd) = true; |
| 431 | return tsd; |
| 432 | } |
| 433 | |
| 434 | void |
| 435 | malloc_tsd_boot1(void) { |
no test coverage detected